public function __construct(\Rebond\Core\ModelInterface $model, $unique) { parent::__construct($model, $unique); $this->idBuilder = 'primaryKey'; $this->parentValidator = ['foreignKey' => true]; $this->templateValidator = ['foreignKey' => true]; $this->layoutValidator = ['foreignKey' => true]; $this->titleValidator = ['string' => true, 'required' => true, 'minLength' => 3, 'maxLength' => 100]; $this->titleBuilder = 'string'; $this->cssValidator = ['string' => true, 'maxLength' => 500]; $this->cssBuilder = 'string'; $this->jsValidator = ['string' => true, 'maxLength' => 500]; $this->jsBuilder = 'string'; $this->inNavHeaderValidator = ['bool' => true]; $this->inNavSideValidator = ['bool' => true]; $this->inSitemapValidator = ['bool' => true]; $this->inBreadcrumbValidator = ['bool' => true]; $this->inNavFooterValidator = ['bool' => true]; $this->friendlyUrlPathValidator = ['hidden' => true, 'maxLength' => 100]; $this->friendlyUrlPathBuilder = 'hidden'; $this->friendlyUrlValidator = ['string' => true, 'maxLength' => 100]; $this->friendlyUrlBuilder = 'string'; $this->redirectValidator = ['string' => true, 'maxLength' => 150]; $this->redirectBuilder = 'string'; $this->classValidator = ['string' => true, 'maxLength' => 150]; $this->classBuilder = 'string'; $this->permissionValidator = ['string' => true, 'maxLength' => 100]; $this->permissionBuilder = 'string'; $this->displayOrderValidator = ['integer' => true, 'required' => true]; $this->displayOrderBuilder = 'integer'; $this->statusValidator = ['enum' => true]; }
public function __construct(\Rebond\Core\ModelInterface $model, $unique) { parent::__construct($model, $unique); $this->idBuilder = 'primaryKey'; $this->titleValidator = ['string' => true, 'required' => true, 'minLength' => 2, 'maxLength' => 50]; $this->titleBuilder = 'string'; $this->googleAnalyticsValidator = ['string' => true, 'maxLength' => 20]; $this->googleAnalyticsBuilder = 'string'; $this->keywordsValidator = ['string' => true, 'maxLength' => 512]; $this->keywordsBuilder = 'string'; $this->descriptionValidator = ['string' => true, 'maxLength' => 1024]; $this->descriptionBuilder = 'string'; $this->cssValidator = ['string' => true, 'maxLength' => 500]; $this->cssBuilder = 'string'; $this->jsValidator = ['string' => true, 'maxLength' => 500]; $this->jsBuilder = 'string'; $this->signInUrlValidator = ['string' => true, 'maxLength' => 50]; $this->signInUrlBuilder = 'string'; $this->environmentValidator = ['enum' => true]; $this->sqlLogValidator = ['bool' => true]; $this->timezoneValidator = ['string' => true, 'required' => true, 'maxLength' => 50]; $this->timezoneBuilder = 'string'; $this->isCmsValidator = ['bool' => true]; $this->cacheTimeValidator = ['integer' => true, 'required' => true, 'minValue' => 0]; $this->cacheTimeBuilder = 'integer'; $this->useDeviceTemplateValidator = ['bool' => true]; $this->skinValidator = ['string' => true, 'required' => true, 'minLength' => 2, 'maxLength' => 20]; $this->skinBuilder = 'string'; $this->sendMailOnErrorValidator = ['bool' => true]; $this->mailListOnErrorValidator = ['string' => true, 'maxLength' => 200]; $this->mailListOnErrorBuilder = 'string'; $this->statusValidator = ['enum' => true]; }
public function __construct(\Rebond\Core\ModelInterface $model, $unique) { parent::__construct($model, $unique); $this->idBuilder = 'primaryKey'; $this->folderValidator = ['foreignKey' => true]; $this->titleValidator = ['string' => true, 'required' => true, 'minLength' => 3, 'maxLength' => 100]; $this->titleBuilder = 'string'; $this->tagsValidator = ['string' => true, 'minLength' => 2, 'maxLength' => 150]; $this->tagsBuilder = 'string'; $this->uploadValidator = ['string' => true, 'required' => true, 'minLength' => 3, 'maxLength' => 50]; $this->uploadBuilder = 'string'; $this->originalFilenameValidator = ['string' => true, 'required' => true, 'minLength' => 3, 'maxLength' => 150]; $this->originalFilenameBuilder = 'string'; $this->pathValidator = ['string' => true, 'minLength' => 3, 'maxLength' => 100]; $this->pathBuilder = 'string'; $this->extensionValidator = ['string' => true, 'required' => true, 'maxLength' => 5]; $this->extensionBuilder = 'string'; $this->mimeTypeValidator = ['string' => true, 'required' => true, 'maxLength' => 50]; $this->mimeTypeBuilder = 'string'; $this->fileSizeValidator = ['integer' => true, 'required' => true]; $this->fileSizeBuilder = 'integer'; $this->widthValidator = ['integer' => true, 'required' => true]; $this->widthBuilder = 'integer'; $this->heightValidator = ['integer' => true, 'required' => true]; $this->heightBuilder = 'integer'; $this->altValidator = ['string' => true, 'required' => true, 'minLength' => 2, 'maxLength' => 100]; $this->altBuilder = 'string'; $this->isSelectableValidator = ['bool' => true]; $this->statusValidator = ['enum' => true]; }
public function __construct(\Rebond\Core\ModelInterface $model, $unique) { parent::__construct($model, $unique); $this->idBuilder = 'primaryKey'; $this->moduleValidator = ['foreignKey' => true]; $this->appIdValidator = ['integer' => true]; $this->appIdBuilder = 'integer'; $this->contentGroupValidator = ['integer' => true]; $this->contentGroupBuilder = 'integer'; $this->filterValidator = ['foreignKey' => false]; $this->authorValidator = ['foreignKey' => true]; $this->publisherValidator = ['foreignKey' => false]; $this->titleValidator = ['string' => true, 'required' => true, 'maxLength' => 100]; $this->titleBuilder = 'string'; $this->urlFriendlyTitleValidator = ['string' => true, 'required' => true, 'minLength' => 3, 'maxLength' => 150]; $this->urlFriendlyTitleBuilder = 'string'; $this->useExpirationValidator = ['bool' => true]; $this->goLiveDateValidator = ['datetime' => true]; $this->goLiveDateBuilder = 'datetime'; $this->expiryDateValidator = ['datetime' => true]; $this->expiryDateBuilder = 'datetime'; $this->publishedDateValidator = ['datetime' => true]; $this->publishedDateBuilder = 'datetime'; $this->versionValidator = ['enum' => true]; }
public function __construct(\Rebond\Core\ModelInterface $model, $unique) { parent::__construct($model, $unique); $this->roleValidator = ['multipleKey' => true]; $this->roleBuilder = 'multipleKey'; $this->permissionValidator = ['multipleKey' => true]; $this->permissionBuilder = 'multipleKey'; }
public function __construct(\Rebond\Core\ModelInterface $model, $unique) { parent::__construct($model, $unique); $this->idBuilder = 'primaryKey'; $this->moduleValidator = ['foreignKey' => true]; $this->fieldValidator = ['string' => true, 'required' => true, 'maxLength' => 50]; $this->fieldBuilder = 'string'; $this->statusValidator = ['enum' => true]; }
public function __construct(\Rebond\Core\ModelInterface $model, $unique) { parent::__construct($model, $unique); $this->idBuilder = 'primaryKey'; $this->titleValidator = ['string' => true, 'required' => true, 'minLength' => 3, 'maxLength' => 100]; $this->titleBuilder = 'string'; $this->summaryValidator = ['string' => true, 'required' => true, 'maxLength' => 200]; $this->summaryBuilder = 'string'; $this->statusValidator = ['enum' => true]; }
public function __construct(\Rebond\Core\ModelInterface $model, $unique) { parent::__construct($model, $unique); $this->idBuilder = 'primaryKey'; $this->userValidator = ['singleKey' => true]; $this->mediaViewValidator = ['enum' => true]; $this->mediaPagingValidator = ['enum' => true]; $this->contentPagingValidator = ['enum' => true]; $this->pagingValidator = ['enum' => true]; }
public function __construct(\Rebond\Core\ModelInterface $model, $unique) { parent::__construct($model, $unique); $this->idBuilder = 'primaryKey'; $this->parentValidator = ['foreignKey' => true]; $this->titleValidator = ['string' => true, 'required' => true, 'minLength' => 3, 'maxLength' => 50]; $this->titleBuilder = 'string'; $this->displayOrderValidator = ['integer' => true]; $this->displayOrderBuilder = 'integer'; $this->statusValidator = ['enum' => true]; }
public function __construct(\Rebond\Core\ModelInterface $model, $unique) { parent::__construct($model, $unique); $this->idBuilder = 'primaryKey'; $this->userValidator = ['foreignKey' => true]; $this->signInValidator = ['string' => true, 'maxLength' => 100]; $this->signInBuilder = 'string'; $this->secureValidator = ['string' => true, 'maxLength' => 255]; $this->secureBuilder = 'string'; $this->typeValidator = ['enum' => true]; }
public function __construct(\Rebond\Core\ModelInterface $model, $unique) { parent::__construct($model, $unique); $this->idBuilder = 'primaryKey'; $this->userValidator = ['foreignKey' => true]; $this->titleValidator = ['string' => true, 'required' => true, 'minLength' => 3, 'maxLength' => 50]; $this->titleBuilder = 'string'; $this->typeValidator = ['enum' => true]; $this->descriptionValidator = ['text' => true, 'required' => true]; $this->descriptionBuilder = 'text'; $this->statusValidator = ['enum' => true]; }
public function __construct(\Rebond\Core\ModelInterface $model, $unique) { parent::__construct($model, $unique); $this->idBuilder = 'primaryKey'; $this->pageValidator = ['foreignKey' => true]; $this->componentValidator = ['foreignKey' => true]; $this->colValidator = ['integer' => true, 'required' => true]; $this->colBuilder = 'integer'; $this->filterValidator = ['foreignKey' => false]; $this->customFilterValidator = ['string' => true, 'maxLength' => 20]; $this->customFilterBuilder = 'string'; $this->displayOrderValidator = ['integer' => true, 'required' => true]; $this->displayOrderBuilder = 'integer'; $this->statusValidator = ['enum' => true]; }
public function __construct(\Rebond\Core\ModelInterface $model, $unique) { parent::__construct($model, $unique); $this->idBuilder = 'primaryKey'; $this->usernameValidator = ['username' => true, 'required' => true, 'minLength' => 3, 'maxLength' => 50]; $this->usernameBuilder = 'username'; $this->emailValidator = ['email' => true, 'required' => true, 'minLength' => 3, 'maxLength' => 100]; $this->emailBuilder = 'email'; $this->passwordValidator = ['password' => true, 'required' => true, 'minLength' => 4, 'maxLength' => 255]; $this->passwordBuilder = 'password'; $this->firstnameValidator = ['string' => true, 'minLength' => 1, 'maxLength' => 50]; $this->firstnameBuilder = 'string'; $this->lastnameValidator = ['string' => true, 'minLength' => 1, 'maxLength' => 50]; $this->lastnameBuilder = 'string'; $this->avatarValidator = ['media' => false, 'image' => true]; $this->avatarBuilder = 'media'; $this->isAdminValidator = ['bool' => true]; $this->isDevValidator = ['bool' => true]; $this->statusValidator = ['enum' => true]; }
public function __construct(\Rebond\Core\ModelInterface $model, $unique) { parent::__construct($model, $unique); $this->idBuilder = 'primaryKey'; $this->titleValidator = ['string' => true, 'required' => true, 'minLength' => 2, 'maxLength' => 100]; $this->titleBuilder = 'string'; $this->summaryValidator = ['string' => true, 'maxLength' => 200]; $this->summaryBuilder = 'string'; $this->filenameValidator = ['string' => true, 'maxLength' => 100]; $this->filenameBuilder = 'string'; $this->menuValidator = ['enum' => true, 'required' => true]; $this->menuLevelValidator = ['integer' => true, 'required' => true]; $this->menuLevelBuilder = 'integer'; $this->inBreadcrumbValidator = ['bool' => true]; $this->sideNavValidator = ['enum' => true, 'required' => true]; $this->sideNavLevelValidator = ['integer' => true, 'required' => true]; $this->sideNavLevelBuilder = 'integer'; $this->inFooterValidator = ['bool' => true]; $this->footerLevelValidator = ['integer' => true, 'required' => true]; $this->footerLevelBuilder = 'integer'; $this->statusValidator = ['enum' => true]; }
public function __construct(\Rebond\Core\ModelInterface $model, $unique) { parent::__construct($model, $unique); $this->idBuilder = 'primaryKey'; $this->codeValidator = ['integer' => true, 'required' => true]; $this->codeBuilder = 'integer'; $this->userValidator = ['foreignKey' => true]; $this->ipValidator = ['string' => true, 'maxLength' => 20]; $this->ipBuilder = 'string'; $this->requestUriValidator = ['string' => true, 'maxLength' => 100]; $this->requestUriBuilder = 'string'; $this->refererValidator = ['string' => true, 'maxLength' => 100]; $this->refererBuilder = 'string'; $this->messageValidator = ['text' => true, 'required' => true]; $this->messageBuilder = 'text'; $this->traceValidator = ['text' => true]; $this->traceBuilder = 'text'; $this->fileValidator = ['string' => true, 'required' => true, 'maxLength' => 100]; $this->fileBuilder = 'string'; $this->lineValidator = ['integer' => true, 'required' => true, 'minValue' => 1]; $this->lineBuilder = 'integer'; $this->statusValidator = ['enum' => true]; }