/** * Constructor. */ function __construct($wizardMode = false) { parent::__construct($wizardMode); }
/** * Constructor. */ function __construct($wizardMode = false) { parent::__construct($wizardMode, array('displayNewReleases' => 'bool', 'displayFeaturedBooks' => 'bool', 'displayInSpotlight' => 'bool', 'coverThumbnailsMaxWidth' => 'int', 'coverThumbnailsMaxHeight' => 'int', 'coverThumbnailsResize' => 'bool', 'catalogSortOption' => 'string')); $this->addCheck(new FormValidator($this, 'coverThumbnailsMaxWidth', 'required', 'manager.setup.coverThumbnailsMaxWidthRequired')); $this->addCheck(new FormValidator($this, 'coverThumbnailsMaxHeight', 'required', 'manager.setup.coverThumbnailsMaxHeightRequired')); }