/** * 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())); }
/** * 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)))); }
/** * 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); }