/** * Return the value of the field * * @return mixed: the value of the field * @access public * @author Thomas Branius * @since 16-03-2010 */ function getValue() { $sValue = parent::getValue(); if (preg_match($this->_sValParseRegExpr, $sValue)) { return $sValue; } if ($this->_bParseOtherPresentations) { $sValue = $this->parseOtherPresentations($sValue); } return $sValue; }
public function __toString() { return is_string(parent::getValue()) ? parent::getValue() : ''; }