/** * Constructs the validator and sets validation options * * @param array $options Options for the validator * @throws InvalidValidationOptionsException * @api */ public function __construct(array $options = array()) { parent::__construct($options); if (isset($this->options['properties'])) { $this->properties = GeneralUtility::trimExplode(',', $this->options['properties'], true); } }
/** * Constructs the validator and sets validation options * * @param array $options Options for the validator * @throws InvalidValidationOptionsException */ public function __construct(array $options = []) { parent::__construct($options); }
/** * @param array $arguments * @return self */ public function __construct($arguments) { parent::__construct($arguments); $this->captcha = GeneralUtility::makeInstance(CaptchaService::class); }
/** * Must be there */ public function isValid($value) { return parent::isValid($value); }
/** * @param array $validationOptions * $param \Bjr\BjrLend\Domain\Model\Article $article * @param string $format */ public function __construct($validationOptions = array(), \Bjr\BjrLend\Domain\Model\Article $article, $format = '%d.%m.%Y') { parent::__construct($validationOptions); $this->format = $format; $this->article = $article; }
/** * RecaptchaValidator constructor. * * @param array $options */ public function __construct(array $options = []) { parent::__construct($options); $this->captcha = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(CaptchaService::class); }