Example #1
0
	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>';
	}
Example #2
0
 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>';
 }
Example #3
0
 function Field()
 {
     Requirements::css(SAPPHIRE_DIR . '/css/DatetimeField.css');
     return $this->dateField->FieldHolder() . $this->timeField->FieldHolder() . '<div class="clear"><!-- --></div>';
 }
 /**
  * @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>');
 }