本文整理汇总了PHP中JCckPluginField::onCCK_FieldConstruct_TypeForm方法的典型用法代码示例。如果您正苦于以下问题:PHP JCckPluginField::onCCK_FieldConstruct_TypeForm方法的具体用法?PHP JCckPluginField::onCCK_FieldConstruct_TypeForm怎么用?PHP JCckPluginField::onCCK_FieldConstruct_TypeForm使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类JCckPluginField
的用法示例。
在下文中一共展示了JCckPluginField::onCCK_FieldConstruct_TypeForm方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: onCCK_FieldConstruct_TypeForm
public static function onCCK_FieldConstruct_TypeForm(&$field, $style, $data = array(), $config = array())
{
$data['variation'][] = JHtml::_('select.option', '<OPTGROUP>', JText::_('COM_CCK_AUTO'));
$data['variation'][] = JHtml::_('select.option', 'hidden_auto', JText::_('COM_CCK_HIDDEN_AND_SECURED'));
$data['variation'][] = JHtml::_('select.option', '</OPTGROUP>', '');
parent::onCCK_FieldConstruct_TypeForm($field, $style, $data);
}
示例2: onCCK_FieldConstruct_TypeForm
public static function onCCK_FieldConstruct_TypeForm(&$field, $style, $data = array())
{
$data['live'] = NULL;
$data['validation'] = NULL;
$data['variation'] = array(JHtml::_('select.option', 'hidden', JText::_('COM_CCK_HIDDEN')), JHtml::_('select.option', 'value', JText::_('COM_CCK_VALUE')), JHtml::_('select.option', '<OPTGROUP>', JText::_('COM_CCK_FORM')), JHtml::_('select.option', '', JText::_('COM_CCK_DEFAULT')), JHtml::_('select.option', 'disabled', JText::_('COM_CCK_FORM_DISABLED2')), JHtml::_('select.option', '</OPTGROUP>', ''), JHtml::_('select.option', '<OPTGROUP>', JText::_('COM_CCK_TOOLBAR')), JHtml::_('select.option', 'toolbar_button', JText::_('COM_CCK_TOOLBAR_BUTTON')), JHtml::_('select.option', '</OPTGROUP>', ''));
parent::onCCK_FieldConstruct_TypeForm($field, $style, $data);
}
示例3: onCCK_FieldConstruct_TypeForm
public static function onCCK_FieldConstruct_TypeForm(&$field, $style, $data = array())
{
$data['variation'][] = JHtml::_('select.option', '<OPTGROUP>', JText::_('COM_CCK_CUSTOM'));
$data['variation'][] = JHtml::_('select.option', 'custom_number', JText::_('COM_CCK_NUMBER'));
$data['variation'][] = JHtml::_('select.option', 'custom_url', JText::_('COM_CCK_URL'));
$data['variation'][] = JHtml::_('select.option', '</OPTGROUP>', '');
parent::onCCK_FieldConstruct_TypeForm($field, $style, $data);
}
示例4: onCCK_FieldConstruct_TypeForm
public static function onCCK_FieldConstruct_TypeForm(&$field, $style, $data = array())
{
$data['markup'] = NULL;
$data['validation'] = NULL;
parent::onCCK_FieldConstruct_TypeForm($field, $style, $data);
}