本文整理汇总了PHP中Essential_Grid_Base::get_custom_elements_for_javascript方法的典型用法代码示例。如果您正苦于以下问题:PHP Essential_Grid_Base::get_custom_elements_for_javascript方法的具体用法?PHP Essential_Grid_Base::get_custom_elements_for_javascript怎么用?PHP Essential_Grid_Base::get_custom_elements_for_javascript使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Essential_Grid_Base
的用法示例。
在下文中一共展示了Essential_Grid_Base::get_custom_elements_for_javascript方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
$navigation_skins = $nav_skin->get_essential_navigation_skins();
$navigation_skin_css = $base->jsonEncodeForClientSide($navigation_skins);
$entry_skins = Essential_Grid_Item_Skin::get_essential_item_skins();
$entry_skin_choosen = $base->getVar($grid['params'], 'entry-skin', '0');
$grid_animations = $base->get_grid_animations();
$hover_animations = $base->get_hover_animations();
$grid_animation_choosen = $base->getVar($grid['params'], 'grid-animation', 'fade');
$hover_animation_choosen = $base->getVar($grid['params'], 'hover-animation', 'fade');
if (intval($isCreate) > 0) {
//currently editing, so default can be empty
$media_source_order = $base->getVar($grid['postparams'], 'media-source-order', '');
} else {
$media_source_order = $base->getVar($grid['postparams'], 'media-source-order', array('featured-image'));
}
$media_source_list = $base->get_media_source_order();
$custom_elements = $base->get_custom_elements_for_javascript();
$all_image_sizes = $base->get_all_image_sizes();
$meta_keys = $meta->get_all_meta_handle();
?>
<!--
LEFT SETTINGS
-->
<h2 class="topheader"><?php
echo $title;
?>
</h2>
<div class="postbox eg-postbox" style="width:100%;min-width:500px"><h3><span><?php
_e('Layout Composition', EG_TEXTDOMAIN);
?>
</span><div class="postbox-arrow"></div></h3>