本文整理汇总了PHP中Essential_Grid_Base::get_grid_animations方法的典型用法代码示例。如果您正苦于以下问题:PHP Essential_Grid_Base::get_grid_animations方法的具体用法?PHP Essential_Grid_Base::get_grid_animations怎么用?PHP Essential_Grid_Base::get_grid_animations使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Essential_Grid_Base
的用法示例。
在下文中一共展示了Essential_Grid_Base::get_grid_animations方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: add_tiny_mce_shortcode_dialog
//.........这里部分代码省略.........
<label><?php
_e('Pagination', EG_TEXTDOMAIN);
?>
</label>
<input type="radio" style="margin-left:0px !important;" name="ess-grid-tiny-rows-unlimited" value="on" /> <?php
_e('Disable', EG_TEXTDOMAIN);
?>
<input type="radio" name="ess-grid-tiny-rows-unlimited" checked="checked" value="off" /> <?php
_e('Enable', EG_TEXTDOMAIN);
?>
</p>
<p>
<label><?php
_e('Columns', EG_TEXTDOMAIN);
?>
</label>
<input type="text" name="ess-grid-tiny-columns" value="5" />
</p>
<p>
<label><?php
_e('Max. Visible Rows', EG_TEXTDOMAIN);
?>
</label>
<input type="text" name="ess-grid-tiny-rows" value="3" />
</p>
<p>
<label><?php
_e('Start and Filter Animations', EG_TEXTDOMAIN);
?>
</label>
<?php
$anims = Essential_Grid_Base::get_grid_animations();
?>
<select class="eg-tooltip-wrap tooltipstered" name="ess-grid-tiny-grid-animation" id="grid-animation-select">
<?php
foreach ($anims as $value => $name) {
echo '<option value="' . $value . '">' . $name . '</option>' . "\n";
}
?>
</select>
</p>
<p>
<label><?php
_e('Choose Spinner', EG_TEXTDOMAIN);
?>
</label>
<select class="eg-tooltip-wrap tooltipstered" name="ess-grid-tiny-use-spinner" id="use_spinner">
<option value="-1"><?php
_e('off', EG_TEXTDOMAIN);
?>
</option>
<option value="0" selected="selected">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</p>
</div>
</div>
</div>
<!--<a href="javascript:void(0);" class="button-primary ess-revgreen" id="eg-goto-step-3"><?php
_e('Add Entries', EG_TEXTDOMAIN);
示例2: array
$columns_advanced[] = $base->getVar($grid['params'], 'columns-advanced-rows-0', '');
$columns_advanced[] = $base->getVar($grid['params'], 'columns-advanced-rows-1', '');
$columns_advanced[] = $base->getVar($grid['params'], 'columns-advanced-rows-2', '');
$columns_advanced[] = $base->getVar($grid['params'], 'columns-advanced-rows-3', '');
$columns_advanced[] = $base->getVar($grid['params'], 'columns-advanced-rows-4', '');
$columns_advanced[] = $base->getVar($grid['params'], 'columns-advanced-rows-5', '');
$columns_advanced[] = $base->getVar($grid['params'], 'columns-advanced-rows-6', '');
$columns_advanced[] = $base->getVar($grid['params'], 'columns-advanced-rows-7', '');
$columns_advanced[] = $base->getVar($grid['params'], 'columns-advanced-rows-8', '');
$columns_advanced[] = $base->getVar($grid['params'], 'columns-advanced-rows-9', '');
$nav_skin_choosen = $base->getVar($grid['params'], 'navigation-skin', 'minimal-light');
$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();
?>