当前位置: 首页>>代码示例>>PHP>>正文


PHP Block::show方法代码示例

本文整理汇总了PHP中Block::show方法的典型用法代码示例。如果您正苦于以下问题:PHP Block::show方法的具体用法?PHP Block::show怎么用?PHP Block::show使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Block的用法示例。


在下文中一共展示了Block::show方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: Block

 function get_block($block_name)
 {
     $page_path = $_POST['page_path'];
     PC::page_paths($page_path);
     $this->BuilderEngine->set_page_path($page_path);
     $this->versions->load_page_blocks();
     $block = new Block($block_name);
     $block->show();
 }
开发者ID:hyrmedia,项目名称:builderengine,代码行数:9,代码来源:ajax.php

示例2: get_theme_path

      
      <?php 
$footer->add_block($block1);
?>
      <?php 
$footer->add_block($block2);
?>
      <?php 
$footer->add_block($block3);
?>
      <?php 
$footer->add_block($block4);
?>
      <?php 
$footer->show();
?>

  </div>
</footer>		
</div>
</div>

<!-- JS -->
<script src="<?php 
echo get_theme_path();
?>
js/bootstrap.js"></script>
<script src="<?php 
echo get_theme_path();
?>
开发者ID:hscale,项目名称:builder-engine,代码行数:29,代码来源:footer.php

示例3: get_footer

                              <div class="button"><a href="http://www.builderengine.com">Free Account</a></div>
                           </div>
                        ');
?>

					 <?php 
$holder->add_block($line1);
?>
                     <?php 
$holder->add_block($line2);
?>
                     <?php 
$holder->add_block($line3);
?>
                     <?php 
$holder->show();
?>

                  </div>
               </div>
            
         </div>
      </div>
   </div>
</div>   

<!-- Content ends --> 
	

<?php 
echo get_footer();
开发者ID:hscale,项目名称:builder-engine,代码行数:31,代码来源:service.php

示例4: Block

<?php

/***********************************************************
* BuilderEngine v3.1.0
* ---------------------------------
* BuilderEngine CMS Platform - Radian Enterprise Systems Limited
* Copyright Radian Enterprise Systems Limited 2012-2015. All Rights Reserved.
*
* http://www.builderengine.com
* Email: info@builderengine.com
* Time: 2015-08-31 | File version: 3.1.0
*
***********************************************************/
$block = new Block("module-builderengine-page-" . $page->id);
$block->set_default("Put your page content here.");
$block->show();
?>
    

开发者ID:hyrmedia,项目名称:builderengine,代码行数:17,代码来源:page_entry.php

示例5: get_footer

                ');
?>
            <?php 
$line3->add_block($block2);
?>
			
<!-- 4th Line of Blocks --> 
			
            <?php 
$line4 = new Block("rpost-test");
?>
            <?php 
$line4->set_type('pro_rpost');
?>
            <?php 
$line4->set_size('span12');
$content_holder->add_block($line1);
$content_holder->add_block($line2);
$content_holder->add_block($line3);
$content_holder->add_block($line4);
$content_holder->show();
?>
            </div>           
         </div>
      </div>
</div> 

<!-- Content ends --> 

<?php 
echo get_footer();
开发者ID:hscale,项目名称:builder-engine,代码行数:31,代码来源:home.php

示例6: Block

$block2 = new Block('be-theme-pro-header-social');
?>
         <?php 
$block2->set_global(true);
?>
         <?php 
$block2->add_css_class('offset3');
?>
		 <?php 
$block2->set_type('social_links');
?>
         <?php 
$block2->set_size('span4');
?>
         <?php 
$block2->show();
?>


      </div>
   </div>
</header>

<!-- Navigation Starts -->

    <div class="navbar">
      <div class="navbar-inner">
        <div class="container">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            Menu
          </a>
开发者ID:hscale,项目名称:builder-engine,代码行数:31,代码来源:header.php

示例7: javascript

<?php

/**
 * @author Matthew McNaney <mcnaney at gmail dot com>
 * @version $Id$
 */
Block::show();
if (Current_User::allow('block')) {
    $key = Key::getCurrent();
    if (Key::checkKey($key) && javascriptEnabled()) {
        javascript('jquery');
        javascript('ckeditor');
        $js_address = PHPWS_SOURCE_HTTP . 'mod/block/javascript/addblock/script.js';
        Layout::addJSHeader('<script src="' . $js_address . '" type="text/javascript"></script>', 'addblock');
        $modal = new \Modal('block-form-modal', '<div id="block-form-dialog"></div>', 'Add block here');
        $modal->sizeLarge();
        $save_button = '<button class="btn btn-success" id="save-block">Save</button>';
        $modal->addButton($save_button);
        Layout::add((string) $modal);
        MiniAdmin::add('block', '<a style="cursor:pointer" data-auth-key="' . Current_User::getAuthKey() . '" data-key-id="' . $key->id . '" id="add-block"><i class="fa fa-plus"></i> Add block here</a>');
    }
}
开发者ID:HaldunA,项目名称:phpwebsite,代码行数:22,代码来源:close.php

示例8: Block

?>
                        <?php 
$block2 = new Block('be-module-blog-entry-right-about');
?>
                        <?php 
$block2->set_size('span4');
?>
                        <?php 
$block2->set_default("\n                        <div class=\"widget\">\n                        <h4>About</h4>\n                        <p>Nulla facilisi. Sed justo dui, id erat. Morbi auctor adipiscing tempor. Phasellus condimentum rutrum aliquet. Quisque eu consectetur erat. Proin rutrum, erat eget posuere semper, <em>arcu mauris posuere tortor</em>,velit at <a href=\"#\">magna sollicitudin cursus</a> ac ultrices magna. Aliquam consequat, purus vitae auctor ullamcorper, sem velit convallis quam, a pharetra justo nunc et mauris. </p>\n                      </div>");
?>
                        <?php 
$right->add_block($block1);
?>
                        <?php 
$right->add_block($block2);
?>
                        <?php 
$right->show();
?>

                        </div>
                     </div>
                     
                     
                     
                  </div>
               </div>
            </div>

    </div>
  </div>
开发者ID:hscale,项目名称:builder-engine,代码行数:31,代码来源:blog_entry.php

示例9:

$line1->set_resizable(false);
?>
                    <?php 
$line1->set_content('
                     <!-- Portfolio hero -->
                     <div class="hero">
                        <!-- Title -->
                        <h3><span>Portfolio</span></h3>
                        <!-- para -->
                        <p>Praesent at tellus porttitor nisl porttitor sagittis. Mauris in massa ligula, a tempor nulla. Ut tempus interdum mauris vel vehicula. Nulla ullamcorper tortor commodo in sagittis est accumsan.</p>
                     </div>
                     <!-- Portfolio -->
                     ');
?>
                     <?php 
$line1->show();
?>
                     <p>
                        <!-- Add filter names inside "data-filter". For example ".web-design", ".seo", etc., Filter names are used to filter the below images. -->
                        <div class="button">
                           <ul id="filters">
                             <li><a href="#" data-filter="*" >All</a></li>
                             <li><a href="#" data-filter=".one" >One</a></li>
                             <li><a href="#" data-filter=".two" >Two</a></li>
                             <li><a href="#" data-filter=".three" >Three</a></li>
                             <li><a href="#" data-filter=".four" >Four</a></li>
                             <li><a href="#" data-filter=".five" >Five</a></li>
                           </ul>
                        </div>
                    </p>
                        
开发者ID:hscale,项目名称:builder-engine,代码行数:30,代码来源:portfolio.php


注:本文中的Block::show方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。