protected function processProperties() {

		$ret = '';

		if ($this->required and (!isset($this->type) or (isset($this->type) and 'bool' != $this->type))) {
			$ret .= ' required';
		}

		if ($this->disabled) {
			$ret .= ' disabled';
		}

		if ($this->readonly) {
			$ret .= ' readonly';
		}

		if ($this->placeholder) {
			$ret .= ' placeholder="' . $this->placeholder . '"';
		}
		
		// CSS classes
		if (count($this->class)) {
			$ret .= ' class="' . implode(' ', $this->class) . '"';
		}
		
		// misc tag attributes
		foreach ($this->attributes as $attr=>$val) {
			$ret .= ' ' . $attr . '="' . addslashes($val) . '"';
		}
		
		return $ret;

	}
protected function processProperties() {

		$ret = '';

		if ($this->required and (!isset($this->type) or (isset($this->type) and 'bool' != $this->type))) {
			$ret .= ' required';
		}

		if ($this->disabled) {
			$ret .= ' disabled';
		}

		if ($this->readonly) {
			$ret .= ' readonly';
		}

		if ($this->placeholder) {
			$ret .= ' placeholder="' . $this->placeholder . '"';
		}
		
		// CSS classes
		if (count($this->class)) {
			$ret .= ' class="' . implode(' ', $this->class) . '"';
		}
		
		// misc tag attributes
		foreach ($this->attributes as $attr=>$val) {
			$ret .= ' ' . $attr . '="' . addslashes($val) . '"';
		}
		
		return $ret;

	}
protected function processProperties ( ) { $ ret = '' ; if ( $ this -> required and ( ! isset ( $ this -> type ) or ( isset ( $ this -> type ) and 'bool' != $ this -> type ) ) ) { $ ret .= ' required' ; } if ( $ this -> disabled ) { $ ret .= ' disabled' ; } if ( $ this -> readonly ) { $ ret .= ' readonly' ; } if ( $ this -> placeholder ) { $ ret .= ' placeholder="' . $ this -> placeholder . '"' ; } // CSS classes if ( count ( $ this -> class ) ) { $ ret .= ' class="' . implode ( ' ' , $ this -> class ) . '"' ; } // misc tag attributes foreach ( $ this -> attributes as $ attr => $ val ) { $ ret .= ' ' . $ attr . '="' . addslashes ( $ val ) . '"' ; } return $ ret ; }
Process and return the common control attributes.

@return string
Process and return the common control attributes .