本文整理汇总了PHP中DateField::FieldHolder方法的典型用法代码示例。如果您正苦于以下问题:PHP DateField::FieldHolder方法的具体用法?PHP DateField::FieldHolder怎么用?PHP DateField::FieldHolder使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DateField
的用法示例。
在下文中一共展示了DateField::FieldHolder方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Field
function Field($properties = array()) {
Requirements::css(FRAMEWORK_DIR . '/css/DatetimeField.css');
$tzField = ($this->getConfig('usertimezone')) ? $this->timezoneField->FieldHolder() : '';
return $this->dateField->FieldHolder() .
$this->timeField->FieldHolder() .
$tzField .
'<div class="clear"><!-- --></div>';
}
示例2: FieldHolder
public function FieldHolder($properties = array())
{
if ($this->getConfig('showcalendar')) {
// TODO Replace with properly extensible view helper system
$d = MultiDateField_View_JQuery::create($this);
if (!$d->regionalSettingsExist()) {
$dateformat = $this->getConfig('dateformat');
// if no localefile is present, the jQuery DatePicker
// month- and daynames will default to English, so the date
// will not pass Zend validatiobn. We provide a fallback
if (preg_match('/(MMM+)|(EEE+)/', $dateformat)) {
$this->setConfig('dateformat', $this->getConfig('datavalueformat'));
}
}
$d->onBeforeRender();
}
$html = parent::FieldHolder();
if (!empty($d)) {
$html = $d->onAfterRender($html);
}
return $html;
}
示例3: Field
function Field()
{
Requirements::css(SAPPHIRE_DIR . '/css/DatetimeField.css');
$tzField = $this->getConfig('usertimezone') ? $this->timezoneField->FieldHolder() : '';
return $this->dateField->FieldHolder() . $this->timeField->FieldHolder() . $tzField . '<div class="clear"><!-- --></div>';
}
示例4: Field
function Field()
{
Requirements::css(SAPPHIRE_DIR . '/css/DatetimeField.css');
return $this->dateField->FieldHolder() . $this->timeField->FieldHolder() . '<div class="clear"><!-- --></div>';
}
示例5: Field
/**
* @param array $properties
* @return HTMLText
*/
public function Field($properties = array())
{
Requirements::css(FRAMEWORK_DIR . '/css/DatetimeField.css');
$tzField = $this->getConfig('usertimezone') ? $this->timezoneField->FieldHolder() : '';
return DBField::create_field('HTMLText', $this->dateField->FieldHolder() . $this->timeField->FieldHolder() . $tzField . '<div class="clear"><!-- --></div>');
}
示例6: FieldHolder
public function FieldHolder($properties = array())
{
$html = parent::FieldHolder();
return $html;
}