本文整理汇总了PHP中compiler_directive_tag::prepare方法的典型用法代码示例。如果您正苦于以下问题:PHP compiler_directive_tag::prepare方法的具体用法?PHP compiler_directive_tag::prepare怎么用?PHP compiler_directive_tag::prepare使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类compiler_directive_tag
的用法示例。
在下文中一共展示了compiler_directive_tag::prepare方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: prepare
function prepare()
{
$grid_tag =& $this->find_parent_by_class('grid_list_tag');
$grid_tag->set_form_required();
parent :: prepare();
}
示例2: prepare
function prepare()
{
if(isset($link->attributes['active_tab']))
$this->active_tab = $link->attributes['active_tab'];
else
$this->active_tab = null;
if(isset($link->attributes['class']))
$this->tabulator_class = 'class="' . $link->attributes['class'] . '"';
if(isset($link->attributes['tab_class']))
$this->tab_class = 'class="' . $link->attributes['tab_class'] . '"';
if(isset($link->attributes['active_tab_class']))
$this->active_tab_class = 'class="' . $link->attributes['active_tab_class'] . '"';
parent :: prepare();
}
示例3: prepare
function prepare()
{
if (isset($this->attributes['active_tab'])) {
$this->active_tab = $this->attributes['active_tab'];
} else {
$this->active_tab = null;
}
if (isset($this->attributes['class'])) {
$this->tabulator_class = 'class="' . $this->attributes['class'] . '"';
}
if (isset($this->attributes['tab_class'])) {
$this->tab_class = 'class="' . $this->attributes['tab_class'] . '"';
}
if (isset($this->attributes['active_tab_class'])) {
$this->active_tab_class = 'class="' . $this->attributes['active_tab_class'] . '"';
}
if (isset($this->attributes['use_cookie'])) {
$this->use_cookie = $this->attributes['use_cookie'];
}
parent::prepare();
}
示例4: prepare
/**
*
* @return void
* @access protected
*/
function prepare()
{
$this->parent->wrapping_component =& $this;
parent::prepare();
}