public function __construct($name, $label, $imagePath = '') { parent::__construct($name, $label); $this->imagePath = $imagePath; }
public function __construct($name, $label, $maxLength = NULL) { parent::__construct($name, $label); $this->maxLength = $maxLength === NULL ? $this->maxLength : (int) $maxLength; }