是否可以在不使用的情况下使所有GridPane的网格线永久可见setGridLinesVisible()?
我知道这setGridLinesVisible()仅用于调试目的,我想显示网格线以方便最终用户.
另外,我需要处理Pane容器而不是Canvas.
我的程序能够在Pane类型或Pane子类型父容器上添加,删除,修改,移动等形状对象和组.
谢谢
我每次访问我的wordpress网站时都会在apache日志中收到此警告:
[错误] [client myiphere] PHP警告:implode():在第16行的/var/www/mysitepath/wp-content/themes/mytheme/noscript/views/list-view.php中传递的参数无效,参考文献:http: //www.example.com/
这是list-view.php的一部分:
<?php
$mytheme = mytheme::getInstance();
$currentContentLayout = $mytheme->WPData['currentContentLayout'];
$contentLayout = $mytheme->settings->contentLayouts->{$currentContentLayout};
$headerClasses = array();
if('no' == $contentLayout->metaPosition){
$headerClasses = 'no-meta';
} else {
$headerClasses[] = 'meta-' . $contentLayout->metaPosition;
}
?>
<div class="mytheme-list-view row">
<div class="large-12 columns">
<?php while(have_posts()){ the_post();?>
<article id="post-<?php the_ID();?>" <?php post_class();?> data-mytheme-post-from-id="<?php the_ID();?>">
<header class="entry-header <?php echo implode(' ', $headerClasses);?>">
...
...
Run Code Online (Sandbox Code Playgroud)
代码有什么问题吗?谢谢