Unbenannt
public text v1 · immutableclass lib_item_input extends lib_item
{
public function __construct( $item )
{
parent::__construct( $item );
$this->setTag('input');
$this->setvalueAfterTag(false);
$this->setCloseTag(false);
$this->addHTMLParam('type', $this->getParam('password') == 1 ? 'password' : 'text' );
$this->addHTMLParam('maxlength', $this->getParam('maxlength') );
}
}