本文整理匯總了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();
}