本文整理匯總了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;
}