本文整理匯總了PHP中Su_Data::animations方法的典型用法代碼示例。如果您正苦於以下問題:PHP Su_Data::animations方法的具體用法?PHP Su_Data::animations怎麽用?PHP Su_Data::animations使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Su_Data
的用法示例。
在下文中一共展示了Su_Data::animations方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: get_config
static function get_config()
{
// animate
return array('name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ANIMATE'), 'type' => 'wrap', 'group' => 'other', 'atts' => array('type' => array('type' => 'select', 'values' => array_combine(Su_Data::animations(), Su_Data::animations()), 'default' => 'bounceIn', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ANIMATE_STYLE'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ANIMATE_STYLE_DESC')), 'duration' => array('type' => 'slider', 'min' => 0, 'max' => 20, 'step' => 0.5, 'default' => 1, 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DURATION'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DURATION_DESC'), 'child' => array('delay' => array('type' => 'slider', 'min' => 0, 'max' => 20, 'step' => 0.5, 'default' => 0, 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DELAY'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DELAY_DESC')))), 'inline' => array('type' => 'bool', 'default' => 'no', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_INLINE'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_INLINE_DESC')), 'class' => array('default' => '', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CLASS'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CLASS_DESC'))), 'content' => 'Animated content', 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ANIMATE_DESC'), 'icon' => 'bolt');
}