예제 #1
0
 /**
  * Returns the according input elements as html for this datafield
  *
  * @param String $name      Name prefix of the associated input
  * @param Array  $variables Additional variables
  * @return String containing the required html
  */
 public function getHTML($name = '', $variables = array())
 {
     return parent::getHTML($name, array('values' => $this->getNumberParts()));
 }
예제 #2
0
 /**
  * Returns the according input elements as html for this datafield
  *
  * @param String $name      Name prefix of the associated input
  * @param Array  $variables Additional variables
  * @return String containing the required html
  */
 public function getHTML($name = '', $variables = array())
 {
     return parent::getHTML($name, array('timestamp' => strtotime(trim($this->value))));
 }
예제 #3
0
 /**
  * Returns the according input elements as html for this datafield
  *
  * @param String $name      Name prefix of the associated input
  * @param Array  $variables Additional variables
  * @return String containing the required html
  */
 public function getHTML($name = '', $variables = array())
 {
     return parent::getHTML($name, array('values' => explode(':', $this->value)));
 }
 /**
  * Returns the according input elements as html for this datafield
  *
  * @param String $name      Name prefix of the associated input
  * @param Array  $variables Additional variables
  * @return String containing the required html
  */
 public function getHTML($name = '', $variables = array())
 {
     $variables = array_merge(array('multiple' => false, 'type_param' => $this->type_param, 'is_assoc' => $this->is_assoc_param), $variables);
     return parent::getHTML($name, $variables);
 }