本文整理汇总了PHP中compiledFetchAttribute函数的典型用法代码示例。如果您正苦于以下问题:PHP compiledFetchAttribute函数的具体用法?PHP compiledFetchAttribute怎么用?PHP compiledFetchAttribute使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了compiledFetchAttribute函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: while
while (is_object($if_cond) and method_exists($if_cond, 'templateValue')) {
$if_cond = $if_cond->templateValue();
}
if ($if_cond) {
$text .= ' selected="selected"';
}
unset($if_cond);
// if ends
$text .= '>Descending</option>
<option value="1"';
// if begins
unset($if_cond);
unset($if_cond1);
unset($if_cond1);
$if_cond1 = (array_key_exists($rootNamespace, $vars) and array_key_exists('node', $vars[$rootNamespace])) ? $vars[$rootNamespace]['node'] : null;
$if_cond2 = compiledFetchAttribute($if_cond1, 'sort_order');
unset($if_cond1);
$if_cond1 = $if_cond2;
if (!isset($if_cond1)) {
$if_cond1 = NULL;
}
while (is_object($if_cond1) and method_exists($if_cond1, 'templateValue')) {
$if_cond1 = $if_cond1->templateValue();
}
$if_cond = $if_cond1 == 1;
unset($if_cond1);
if (!isset($if_cond)) {
$if_cond = NULL;
}
while (is_object($if_cond) and method_exists($if_cond, 'templateValue')) {
$if_cond = $if_cond->templateValue();
开发者ID:BGCX067,项目名称:ezpublish-thetechtalent-svn-to-git,代码行数:31,代码来源:ordering-be83887c9c6e76a065615f3d97bbc81f.php
示例2: array
$setArray = array();
$tpl->Level++;
if ($tpl->Level > 40) {
$text = $tpl->MaxLevelWarning;
$tpl->Level--;
return;
}
$eZTemplateCompilerCodeDate = 1074699607;
if (!defined('EZ_TEMPLATE_COMPILER_COMMON_CODE')) {
include_once 'var/ezflow_site/cache/template/compiled/common.php';
}
// def $global_layout_object
unset($var);
$var = call_user_func_array(array(new eZContentFunctionCollection(), 'fetchObjectTree'), array('parent_node_id' => 1, 'sort_by' => array(), 'only_translated' => false, 'language' => false, 'offset' => false, 'limit' => 1, 'depth' => false, 'depth_operator' => false, 'class_id' => false, 'attribute_filter' => false, 'extended_attribute_filter' => false, 'class_filter_type' => "include", 'class_filter_array' => array("global_layout"), 'group_by' => false, 'main_node_only' => false, 'ignore_visibility' => false, 'limitation' => null, 'as_object' => null, 'objectname_filter' => null, 'load_data_map' => null));
$var = isset($var['result']) ? $var['result'] : null;
$var1 = compiledFetchAttribute($var, 0);
unset($var);
$var = $var1;
if (!isset($var)) {
$var = NULL;
}
while (is_object($var) and method_exists($var, 'templateValue')) {
$var = $var->templateValue();
}
if ($tpl->hasVariable('global_layout_object', $rootNamespace)) {
$tpl->warning('def', "Variable 'global_layout_object' is already defined.", array(0 => array(0 => 1, 1 => 0, 2 => 1), 1 => array(0 => 4, 1 => 114, 2 => 360), 2 => 'extension/ezflow/design/ezflow/templates/parts/extra_info.tpl'));
$tpl->setVariable('global_layout_object', $var, $rootNamespace);
} else {
$tpl->setLocalVariable('global_layout_object', $var, $rootNamespace);
}
$text .= '
开发者ID:BGCX067,项目名称:ezpublish-thetechtalent-svn-to-git,代码行数:31,代码来源:extra_info-864b8d483bb05e2e78670ae8d8a3ef45.php
示例3: unset
if ($namespace == '') {
$namespace = "navigator";
} else {
$namespace .= ':navigator';
}
$vars[$namespace]['view_parameters'] = $var;
unset($var);
if (isset($namespace) and isset($vars[$namespace]['node_id'])) {
$restoreIncludeArray[] = array($namespace, 'node_id', $vars[$namespace]['node_id']);
} elseif (!isset($vars[isset($namespace) ? $namespace : '']['node_id'])) {
$restoreIncludeArray[] = array(isset($namespace) ? $namespace : '', 'node_id', 'unset');
}
unset($var);
unset($var);
$var = (array_key_exists($rootNamespace, $vars) and array_key_exists('node', $vars[$rootNamespace])) ? $vars[$rootNamespace]['node'] : null;
$var1 = compiledFetchAttribute($var, 'node_id');
unset($var);
$var = $var1;
if (!isset($var)) {
$var = NULL;
}
while (is_object($var) and method_exists($var, 'templateValue')) {
$var = $var->templateValue();
}
$namespace = $currentNamespace;
if ($namespace == '') {
$namespace = "navigator";
} else {
$namespace .= ':navigator';
}
$vars[$namespace]['node_id'] = $var;
示例4: while
if (!isset($var)) {
$var = NULL;
}
while (is_object($var) and method_exists($var, 'templateValue')) {
$var = $var->templateValue();
}
$text .= $var;
unset($var);
// if begins
unset($if_cond);
unset($if_cond);
$if_cond = (array_key_exists($rootNamespace, $vars) and array_key_exists('Attributes', $vars[$rootNamespace])) ? $vars[$rootNamespace]['Attributes'] : null;
$if_cond1 = compiledFetchAttribute($if_cond, 'item');
unset($if_cond);
$if_cond = $if_cond1;
$if_cond1 = compiledFetchAttribute($if_cond, 'is_information_collector');
unset($if_cond);
$if_cond = $if_cond1;
if (!isset($if_cond)) {
$if_cond = NULL;
}
while (is_object($if_cond) and method_exists($if_cond, 'templateValue')) {
$if_cond = $if_cond->templateValue();
}
if ($if_cond) {
$text .= ' <span class="collector">(information collector)</span>';
}
unset($if_cond);
// if ends
$text .= ':</label>
';
示例5: while
$if_cond = NULL;
}
while (is_object($if_cond) and method_exists($if_cond, 'templateValue')) {
$if_cond = $if_cond->templateValue();
}
if ($if_cond) {
$text .= ' onclick="return false;"';
}
unset($if_cond);
// if ends
$text .= '><span>';
unset($var);
unset($var1);
unset($var1);
$var1 = (array_key_exists($rootNamespace, $vars) and array_key_exists('item', $vars[$rootNamespace])) ? $vars[$rootNamespace]['item'] : null;
$var2 = compiledFetchAttribute($var1, 'name');
unset($var1);
$var1 = $var2;
if (!isset($var1)) {
$var1 = NULL;
}
while (is_object($var1) and method_exists($var1, 'templateValue')) {
$var1 = $var1->templateValue();
}
while (is_object($var1) and method_exists($var1, 'templateValue')) {
$var1 = $var1->templateValue();
}
$var = htmlspecialchars($var1);
unset($var1);
if (!isset($var)) {
$var = NULL;
开发者ID:BGCX067,项目名称:ezpublish-thetechtalent-svn-to-git,代码行数:31,代码来源:double_top-89a4029e2a04545ce57fdc2e50369adb.php
示例6: unset
unset($fe_val_62865e6cd44b6c8c50de98f55835779f_1);
unset($fe_offset_62865e6cd44b6c8c50de98f55835779f_1);
unset($fe_max_62865e6cd44b6c8c50de98f55835779f_1);
unset($fe_reverse_62865e6cd44b6c8c50de98f55835779f_1);
unset($fe_first_val_62865e6cd44b6c8c50de98f55835779f_1);
unset($fe_last_val_62865e6cd44b6c8c50de98f55835779f_1);
unset($fe_variable_stack_62865e6cd44b6c8c50de98f55835779f_1);
}
// foreach ends
$text .= ' ';
// if begins
unset($if_cond);
unset($if_cond1);
unset($if_cond1);
$if_cond1 = (array_key_exists($rootNamespace, $vars) and array_key_exists('class', $vars[$rootNamespace])) ? $vars[$rootNamespace]['class'] : null;
$if_cond2 = compiledFetchAttribute($if_cond1, 'can_create_languages');
unset($if_cond1);
$if_cond1 = $if_cond2;
if (!isset($if_cond1)) {
$if_cond1 = NULL;
}
while (is_object($if_cond1) and method_exists($if_cond1, 'templateValue')) {
$if_cond1 = $if_cond1->templateValue();
}
$if_cond1Data = array('value' => $if_cond1);
$tpl->processOperator('count', array(), $rootNamespace, $currentNamespace, $if_cond1Data, false, false);
$if_cond1 = $if_cond1Data['value'];
unset($if_cond1Data);
if (!isset($if_cond1)) {
$if_cond1 = NULL;
}
示例7: unset
}
unset($if_cond1, $if_cond2);
if (!isset($if_cond)) {
$if_cond = NULL;
}
while (is_object($if_cond) and method_exists($if_cond, 'templateValue')) {
$if_cond = $if_cond->templateValue();
}
if ($if_cond) {
$text .= ' <a href=';
unset($var);
unset($var1);
unset($var3);
unset($var3);
$var3 = (array_key_exists($rootNamespace, $vars) and array_key_exists('current_node', $vars[$rootNamespace])) ? $vars[$rootNamespace]['current_node'] : null;
$var4 = compiledFetchAttribute($var3, 'node_id');
unset($var3);
$var3 = $var4;
if (!isset($var3)) {
$var3 = NULL;
}
while (is_object($var3) and method_exists($var3, 'templateValue')) {
$var3 = $var3->templateValue();
}
while (is_object($var3) and method_exists($var3, 'templateValue')) {
$var3 = $var3->templateValue();
}
$var1 = '/ezflow/timeline/' . $var3;
unset($var3);
if (!isset($var1)) {
$var1 = NULL;
开发者ID:BGCX067,项目名称:ezpublish-thetechtalent-svn-to-git,代码行数:31,代码来源:timeline-5585ef0d3969b90fda01b17ff4756ab0.php
示例8: while
if (!isset($var)) {
$var = NULL;
}
while (is_object($var) and method_exists($var, 'templateValue')) {
$var = $var->templateValue();
}
$text .= $var;
unset($var);
$text .= ': ';
unset($var);
unset($var);
$var = (array_key_exists($rootNamespace, $vars) and array_key_exists('UnvalidatedAttributes', $vars[$rootNamespace])) ? $vars[$rootNamespace]['UnvalidatedAttributes'] : null;
$var1 = compiledFetchAttribute($var, 'item');
unset($var);
$var = $var1;
$var1 = compiledFetchAttribute($var, 'description');
unset($var);
$var = $var1;
if (!isset($var)) {
$var = NULL;
}
while (is_object($var) and method_exists($var, 'templateValue')) {
$var = $var->templateValue();
}
$text .= is_object($var) ? compiledFetchText($tpl, $rootNamespace, $currentNamespace, false, $var) : $var;
unset($var);
$text .= '</li>
';
list($variableValue, $loopItem, $loopKeys, $loopCount, $currentIndex, $index) = array_pop($sectionStack);
++$currentIndex;
$lastVariableValue = $variableValue;
示例9: unset
unset($var4);
unset($var4);
$var4 = (array_key_exists($rootNamespace, $vars) and array_key_exists('search_node_id', $vars[$rootNamespace])) ? $vars[$rootNamespace]['search_node_id'] : null;
if (!isset($var4)) {
$var4 = NULL;
}
while (is_object($var4) and method_exists($var4, 'templateValue')) {
$var4 = $var4->templateValue();
}
while (is_object($var4) and method_exists($var4, 'templateValue')) {
$var4 = $var4->templateValue();
}
$var3 = call_user_func_array(array(new eZContentFunctionCollection(), 'fetchContentNode'), array('node_id' => $var4, 'node_path' => false, 'language_code' => false, 'remote_id' => false));
$var3 = isset($var3['result']) ? $var3['result'] : null;
unset($var4);
$var4 = compiledFetchAttribute($var3, 'name');
unset($var3);
$var3 = $var4;
if (!isset($var3)) {
$var3 = NULL;
}
while (is_object($var3) and method_exists($var3, 'templateValue')) {
$var3 = $var3->templateValue();
}
$var2 = array('%node' => $var3);
unset($var3);
if (!isset($var2)) {
$var2 = NULL;
}
while (is_object($var2) and method_exists($var2, 'templateValue')) {
$var2 = $var2->templateValue();
示例10: unset
// if begins
unset($if_cond);
unset($if_cond1);
unset($if_cond2);
unset($if_cond2);
$if_cond2 = (array_key_exists($rootNamespace, $vars) and array_key_exists('check', $vars[$rootNamespace])) ? $vars[$rootNamespace]['check'] : null;
if (!isset($if_cond2)) {
$if_cond2 = NULL;
}
while (is_object($if_cond2) and method_exists($if_cond2, 'templateValue')) {
$if_cond2 = $if_cond2->templateValue();
}
unset($if_cond3);
unset($if_cond3);
$if_cond3 = (array_key_exists($rootNamespace, $vars) and array_key_exists('check', $vars[$rootNamespace])) ? $vars[$rootNamespace]['check'] : null;
$if_cond4 = compiledFetchAttribute($if_cond3, 'can_read');
unset($if_cond3);
$if_cond3 = $if_cond4;
if (!isset($if_cond3)) {
$if_cond3 = NULL;
}
while (is_object($if_cond3) and method_exists($if_cond3, 'templateValue')) {
$if_cond3 = $if_cond3->templateValue();
}
if (!$if_cond2) {
$if_cond1 = false;
} else {
if (!$if_cond3) {
$if_cond1 = false;
} else {
$if_cond1 = $if_cond3;
开发者ID:BGCX067,项目名称:ezpublish-thetechtalent-svn-to-git,代码行数:31,代码来源:ini_menu-11baa9786a1f4a3b564250e0086ae09b.php
示例11: unset
$if_cond4 = $if_cond4->templateValue();
}
unset($if_cond5);
unset($if_cond6);
unset($if_cond6);
$if_cond6 = (array_key_exists($rootNamespace, $vars) and array_key_exists('children_count_by_letter', $vars[$rootNamespace])) ? $vars[$rootNamespace]['children_count_by_letter'] : null;
unset($if_cond8);
unset($if_cond8);
$if_cond8 = (array_key_exists($rootNamespace, $vars) and array_key_exists('letter', $vars[$rootNamespace])) ? $vars[$rootNamespace]['letter'] : null;
if (!isset($if_cond8)) {
$if_cond8 = NULL;
}
while (is_object($if_cond8) and method_exists($if_cond8, 'templateValue')) {
$if_cond8 = $if_cond8->templateValue();
}
$if_cond7 = compiledFetchAttribute($if_cond6, $if_cond8);
unset($if_cond6);
$if_cond6 = $if_cond7;
if (!isset($if_cond6)) {
$if_cond6 = NULL;
}
while (is_object($if_cond6) and method_exists($if_cond6, 'templateValue')) {
$if_cond6 = $if_cond6->templateValue();
}
$if_cond5 = $if_cond6 > 0;
unset($if_cond6);
if (!isset($if_cond5)) {
$if_cond5 = NULL;
}
while (is_object($if_cond5) and method_exists($if_cond5, 'templateValue')) {
$if_cond5 = $if_cond5->templateValue();
示例12: while
$var = NULL;
}
while (is_object($var) and method_exists($var, 'templateValue')) {
$var = $var->templateValue();
}
$vars[$currentNamespace]['menu_item'] = $var;
unset($var);
if (isset($currentNamespace) and isset($vars[$currentNamespace]['navigationpart_identifier'])) {
$restoreIncludeArray[] = array($currentNamespace, 'navigationpart_identifier', $vars[$currentNamespace]['navigationpart_identifier']);
} elseif (!isset($vars[isset($currentNamespace) ? $currentNamespace : '']['navigationpart_identifier'])) {
$restoreIncludeArray[] = array(isset($currentNamespace) ? $currentNamespace : '', 'navigationpart_identifier', 'unset');
}
unset($var);
unset($var);
$var = (array_key_exists($rootNamespace, $vars) and array_key_exists('navigation_part', $vars[$rootNamespace])) ? $vars[$rootNamespace]['navigation_part'] : null;
$var1 = compiledFetchAttribute($var, 'identifier');
unset($var);
$var = $var1;
if (!isset($var)) {
$var = NULL;
}
while (is_object($var) and method_exists($var, 'templateValue')) {
$var = $var->templateValue();
}
$vars[$currentNamespace]['navigationpart_identifier'] = $var;
unset($var);
if (!isset($dKeys)) {
$resH = $tpl->resourceHandler("design");
$dKeys = $resH->keys();
}
$resourceFound = false;
开发者ID:BGCX067,项目名称:ezpublish-thetechtalent-svn-to-git,代码行数:31,代码来源:page_topmenu-452bb0f51a0707b79833d088b8f29af9.php
示例13: array_key_exists
$var = (array_key_exists($rootNamespace, $vars) and array_key_exists('inner_column_size', $vars[$rootNamespace])) ? $vars[$rootNamespace]['inner_column_size'] : null;
if (!isset($var)) {
$var = NULL;
}
while (is_object($var) and method_exists($var, 'templateValue')) {
$var = $var->templateValue();
}
$text .= is_object($var) ? compiledFetchText($tpl, $rootNamespace, $currentNamespace, false, $var) : $var;
unset($var);
$text .= ' main-content">
<!-- Main area content: START -->
';
unset($var);
unset($var);
$var = (array_key_exists($rootNamespace, $vars) and array_key_exists('module_result', $vars[$rootNamespace])) ? $vars[$rootNamespace]['module_result'] : null;
$var1 = compiledFetchAttribute($var, 'content');
unset($var);
$var = $var1;
if (!isset($var)) {
$var = NULL;
}
while (is_object($var) and method_exists($var, 'templateValue')) {
$var = $var->templateValue();
}
$text .= is_object($var) ? compiledFetchText($tpl, $rootNamespace, $currentNamespace, false, $var) : $var;
unset($var);
$text .= '
<!-- Main area content: END -->
</div>
';
$setArray = $oldSetArray_c813334ad1c4baff0ac6987dc5eab0a7;
示例14: array
$var = $var->templateValue();
}
if ($tpl->hasVariable('zone_layout', $rootNamespace)) {
$tpl->warning('def', "Variable 'zone_layout' is already defined.", array(0 => array(0 => 1, 1 => 0, 2 => 1), 1 => array(0 => 2, 1 => 38, 2 => 133), 2 => 'extension/ezflow/design/standard/templates/content/datatype/view/ezpage.tpl'));
$tpl->setVariable('zone_layout', $var, $rootNamespace);
} else {
$tpl->setLocalVariable('zone_layout', $var, $rootNamespace);
}
// def $zones
unset($var);
unset($var);
$var = (array_key_exists($rootNamespace, $vars) and array_key_exists('attribute', $vars[$rootNamespace])) ? $vars[$rootNamespace]['attribute'] : null;
$var1 = compiledFetchAttribute($var, 'content');
unset($var);
$var = $var1;
$var1 = compiledFetchAttribute($var, 'zones');
unset($var);
$var = $var1;
if (!isset($var)) {
$var = NULL;
}
while (is_object($var) and method_exists($var, 'templateValue')) {
$var = $var->templateValue();
}
if ($tpl->hasVariable('zones', $rootNamespace)) {
$tpl->warning('def', "Variable 'zones' is already defined.", array(0 => array(0 => 1, 1 => 0, 2 => 1), 1 => array(0 => 2, 1 => 38, 2 => 133), 2 => 'extension/ezflow/design/standard/templates/content/datatype/view/ezpage.tpl'));
$tpl->setVariable('zones', $var, $rootNamespace);
} else {
$tpl->setLocalVariable('zones', $var, $rootNamespace);
}
// if begins
示例15: unset
unset($fe_last_val_5d28fd8ce371b6950f608e398d5addc8_1);
unset($fe_variable_stack_5d28fd8ce371b6950f608e398d5addc8_1);
}
// foreach ends
$text .= '
';
// foreach begins
$skipDelimiter = true;
if (!isset($fe_variable_stack_5d28fd8ce371b6950f608e398d5addc8_2)) {
$fe_variable_stack_5d28fd8ce371b6950f608e398d5addc8_2 = array();
}
$fe_variable_stack_5d28fd8ce371b6950f608e398d5addc8_2[] = compact('fe_array_5d28fd8ce371b6950f608e398d5addc8_2', 'fe_array_keys_5d28fd8ce371b6950f608e398d5addc8_2', 'fe_n_items_5d28fd8ce371b6950f608e398d5addc8_2', 'fe_n_items_processed_5d28fd8ce371b6950f608e398d5addc8_2', 'fe_i_5d28fd8ce371b6950f608e398d5addc8_2', 'fe_key_5d28fd8ce371b6950f608e398d5addc8_2', 'fe_val_5d28fd8ce371b6950f608e398d5addc8_2', 'fe_offset_5d28fd8ce371b6950f608e398d5addc8_2', 'fe_max_5d28fd8ce371b6950f608e398d5addc8_2', 'fe_reverse_5d28fd8ce371b6950f608e398d5addc8_2', 'fe_first_val_5d28fd8ce371b6950f608e398d5addc8_2', 'fe_last_val_5d28fd8ce371b6950f608e398d5addc8_2');
unset($fe_array_5d28fd8ce371b6950f608e398d5addc8_2);
unset($fe_array_5d28fd8ce371b6950f608e398d5addc8_2);
$fe_array_5d28fd8ce371b6950f608e398d5addc8_2 = (array_key_exists($rootNamespace, $vars) and array_key_exists('site', $vars[$rootNamespace])) ? $vars[$rootNamespace]['site'] : null;
$fe_array_5d28fd8ce371b6950f608e398d5addc8_21 = compiledFetchAttribute($fe_array_5d28fd8ce371b6950f608e398d5addc8_2, 'meta');
unset($fe_array_5d28fd8ce371b6950f608e398d5addc8_2);
$fe_array_5d28fd8ce371b6950f608e398d5addc8_2 = $fe_array_5d28fd8ce371b6950f608e398d5addc8_21;
if (!isset($fe_array_5d28fd8ce371b6950f608e398d5addc8_2)) {
$fe_array_5d28fd8ce371b6950f608e398d5addc8_2 = NULL;
}
while (is_object($fe_array_5d28fd8ce371b6950f608e398d5addc8_2) and method_exists($fe_array_5d28fd8ce371b6950f608e398d5addc8_2, 'templateValue')) {
$fe_array_5d28fd8ce371b6950f608e398d5addc8_2 = $fe_array_5d28fd8ce371b6950f608e398d5addc8_2->templateValue();
}
$fe_array_keys_5d28fd8ce371b6950f608e398d5addc8_2 = is_array($fe_array_5d28fd8ce371b6950f608e398d5addc8_2) ? array_keys($fe_array_5d28fd8ce371b6950f608e398d5addc8_2) : array();
$fe_n_items_5d28fd8ce371b6950f608e398d5addc8_2 = count($fe_array_keys_5d28fd8ce371b6950f608e398d5addc8_2);
$fe_n_items_processed_5d28fd8ce371b6950f608e398d5addc8_2 = 0;
$fe_offset_5d28fd8ce371b6950f608e398d5addc8_2 = 0;
$fe_max_5d28fd8ce371b6950f608e398d5addc8_2 = $fe_n_items_5d28fd8ce371b6950f608e398d5addc8_2 - $fe_offset_5d28fd8ce371b6950f608e398d5addc8_2;
$fe_reverse_5d28fd8ce371b6950f608e398d5addc8_2 = false;
if ($fe_offset_5d28fd8ce371b6950f608e398d5addc8_2 < 0 || $fe_offset_5d28fd8ce371b6950f608e398d5addc8_2 >= $fe_n_items_5d28fd8ce371b6950f608e398d5addc8_2) {