public function __construct() { parent::__construct('export'); }
/** * * @param string $modelName Hopefully unique model name * @param string $modelField The name of the field used to store the sub model */ public function __construct($modelName = 'fields_maintenance', $modelField = 'sub') { parent::__construct($modelName); $this->_modelField = $modelField; $this->set($this->_modelField, 'elementClass', 'Hidden'); }