public function __construct($Name = False) { if (!$Name) { $Name = C('Candy.Sections.Table', 'Section'); } parent::__construct($Name); $this->Validation->AddRule('UrlPath', 'function:ValidateUrlPath'); }
public function __construct($Name = False) { if (!$Name) { $Name = C('Candy.Sections.Table', 'Section'); } parent::__construct($Name); $this->Validation->AddRule('UrlPath', 'function:ValidateUrlPath'); }