Home
last modified time | relevance | path

Searched refs:validator (Results 1 – 25 of 54) sorted by relevance

123

/plugin/findologicxmlexport/vendor/jms/serializer/src/EventDispatcher/Subscriber/
H A DSymfonyValidatorValidatorSubscriber.php17 private $validator; variable in JMS\\Serializer\\EventDispatcher\\Subscriber\\SymfonyValidatorValidatorSubscriber
19 public function __construct(ValidatorInterface $validator) argument
21 $this->validator = $validator;
42 $validator = $this->validator;
51 $list = $validator->validate($event->getObject(), $constraints, $groups);
/plugin/davcal/vendor/sabre/dav/tests/Sabre/CalDAV/
H A DIssue172Test.php20 $validator = new CalendarQueryValidator();
38 $this->assertTrue($validator->validate($input,$filters));
67 $validator = new CalendarQueryValidator();
85 $this->assertTrue($validator->validate($input,$filters));
115 $validator = new CalendarQueryValidator();
133 $this->assertTrue($validator->validate($input,$filters));
H A DCalendarQueryVAlarmTest.php56 $validator = new CalendarQueryValidator();
57 $this->assertTrue($validator->validate($vcalendar, $filter));
73 $this->assertFalse($validator->validate($vcalendar, $filter));
117 $validator = new CalendarQueryValidator();
118 $this->assertTrue($validator->validate($vcalendar, $filter));
H A DIssue166Test.php38 $validator = new CalendarQueryValidator();
59 $this->assertTrue($validator->validate($input,$filters));
H A DCalendarQueryValidatorTest.php11 $validator = new CalendarQueryValidator();
19 $this->assertFalse($validator->validate($vcal, ['name' => 'VFOO']));
28 $validator = new CalendarQueryValidator();
44 $this->assertFalse($validator->validate($vObject, $filters));
47 $this->assertTrue($validator->validate($vObject, $filters));
51 $validator->validate($vObject, $filters);
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/EventDispatcher/Subscriber/
H A DSymfonyValidatorValidatorSubscriberTest.php19 private $validator; variable in JMS\\Serializer\\Tests\\Serializer\\EventDispatcher\\Subscriber\\SymfonyValidatorValidatorSubscriberTest
28 $this->validator->expects($this->once())
46 $this->validator->expects($this->once())
58 $this->validator->expects($this->never())
66 $this->validator->expects($this->once())
89 …$this->validator = $this->getMockBuilder('Symfony\Component\Validator\Validator\ValidatorInterface…
90 $this->subscriber = new SymfonyValidatorValidatorSubscriber($this->validator);
/plugin/swarmwebhook/
H A Dhelper.php53 $validator = $access->getValidator($data);
54 if (!$validator->validate()) {
55 … throw new StructException("Validation failed:\n%s", implode("\n", $validator->getErrors()));
57 if (!$validator->saveData()) {
/plugin/bez/mdl/
H A DEntity.php22 protected $validator; variable in dokuwiki\\plugin\\bez\\mdl\\Entity
85 $val_data = $this->validator->validate($post);
87 throw new ValidationException($this->get_table_name(), $this->validator->get_errors());
96 $rule = $this->validator->get_rule('content');
124 $rule = $this->validator->get_rule($field);
135 $this->validator = new Validator($this->model);
H A DValidator.php47 $validator = 'validate_'.$method;
48 if (!method_exists($this, $validator)) {
49 throw new \Exception("there is no validation function $validator");
53 $result = call_user_func_array(array($this, $validator), $args);
H A DLabel.php15 $this->validator->set_rules(array(
H A DTask_program.php21 $this->validator->set_rules(array(
H A DTask.php90 $this->validator->set_rules(array(
139 $this->validator->set_rules(array(
143 $this->validator->delete_rule('thread_comment_id');
186 $this->validator->set_rules(array(
190 $this->validator->delete_rule('thread_comment_id');
H A DTask_comment.php34 $this->validator->set_rules(array(
/plugin/struct/helper/
H A Dlookup.php45 $validator = $access->getValidator($data);
46 if ($validator->validate()) {
47 $validator->saveData();
H A Dfield.php54 $validator = new ValueValidator();
55 $this->error = !$validator->validateValue($this->column, $value);
57 foreach ($validator->getErrors() as $error) {
/plugin/scrape/HTMLPurifier/ConfigSchema/
H A DInterchange.php
/plugin/struct/
H A Dhelper.php131 $validator = $access->getValidator($data);
132 if (!$validator->validate()) {
133 throw new StructException("Validation failed:\n%s", implode("\n", $validator->getErrors()));
135 if (!$validator->saveData()) {
/plugin/struct/action/
H A Dbureaucracy.php173 $validator = $access->getValidator($data);
174 if ($validator->validate()) {
175 $validator->saveData($time);
180 $validator->getAccessTable()->getSchema()->getTable()
H A Dinline.php142 $validator = new ValueValidator();
143 if (!$validator->validateValue($this->column, $value)) {
144 throw new StructException(implode("\n", $validator->getErrors()));
/plugin/webdav/vendor/sabre/dav/lib/CalDAV/Backend/
H A DAbstractBackend.php144 $validator = new CalDAV\CalendarQueryValidator();
145 $result = $validator->validate($vObject, $filters);
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/Backend/
H A DAbstractBackend.php144 $validator = new CalDAV\CalendarQueryValidator();
145 return $validator->validate($vObject, $filters);
/plugin/webdav/vendor/sabre/dav/lib/CalDAV/Schedule/
H A DInbox.php187 $validator = new CalDAV\CalendarQueryValidator();
192 if ($validator->validate($vObject, $filters)) {
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/Schedule/
H A DInbox.php255 $validator = new CalDAV\CalendarQueryValidator();
260 if ($validator->validate($vObject, $filters)) {
/plugin/scrape/HTMLPurifier/ConfigSchema/schema/
H A DURI.DefaultScheme.txt
/plugin/combo/
H A Dyarn.lock151 xml-name-validator "^4.0.0"
259 xml-name-validator "^4.0.0"
291 xml-name-validator@^4.0.0:
293 resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-4.0.0.tgz#79a006e2e63149a8600f15430f0a4725d1524835"

123