* @package tao * @deprecated */ class tao_helpers_form_elements_xhtml_Versionedfile extends tao_helpers_form_elements_Versionedfile { use XhtmlRenderingTrait; /** * Short description of attribute CSS_CLASS * * @access protected * @var string */ const CSS_CLASS = 'editVersionedFile'; /** * Short description of method render * * @access public * @author Somsack Sipasseuth, * @return string */ public function render() { if (array_key_exists('class', $this->attributes)) { if (strstr($this->attributes['class'], self::CSS_CLASS) !== false) { $this->attributes['class'] .= ' ' . self::CSS_CLASS; } } else { $this->attributes['class'] = self::CSS_CLASS; } $returnValue = $this->renderLabel(); $returnValue .= "renderAttributes(); $returnValue .= " />"; $returnValue .= "renderAttributes() . ">"; return (string) $returnValue; } }