Example #1
0
 /**
  * Constructor.
  */
 function __construct($wizardMode = false)
 {
     parent::__construct($wizardMode);
 }
Example #2
0
 /**
  * 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'));
 }