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


PHP Essential_Grid_Base::get_all_image_sizes方法代码示例

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


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

示例1: array

$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>
	<div class="inside" style="padding:0px !important;margin:0px !important;height:100%;position:relative;background:#e1e1e1">
开发者ID:kfwebdev,项目名称:wp-atd,代码行数:31,代码来源:grid-create.php


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