mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-26 22:50:29 +01:00
24 lines
490 B
PHP
24 lines
490 B
PHP
<?php
|
|
|
|
|
|
namespace Xentral\Modules\SystemTemplates\Validator;
|
|
|
|
interface SystemTemplateValidatorInterface
|
|
{
|
|
/** @param string|null $methodName */
|
|
public function isValid($methodName = null);
|
|
|
|
public function getErrors();
|
|
|
|
public function setData($data);
|
|
|
|
public function validateDefault();
|
|
|
|
public function setMandatoryFieldName($fieldName);
|
|
|
|
public function addError($error);
|
|
|
|
public function getData();
|
|
|
|
public function applyRules($ruleMethod = null);
|
|
} |