RockLobsterInc\Swv\Rules
DayofweekRule::__construct
Constructor.
Метод класса: DayofweekRule{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$DayofweekRule = new DayofweekRule(); $DayofweekRule->__construct( $properties );
- $properties(массив)
- Rule properties.
По умолчанию:[]
Код DayofweekRule::__construct() DayofweekRule:: construct CF7 6.2.4.1
public function __construct(array $properties = [])
{
$this->field = $properties["field"] ?? "";
$this->error = $properties["error"] ?? "";
$this->accept = $properties["accept"] ?? [];
}