public function __construct($id = false, $table = NULL, $ds = NULL) { $this->validate['name']['notempty']['message'] = __d('replacer', 'Field required'); $this->validate['pattern']['notempty']['message'] = __d('replacer', 'Field required'); $this->validate['limit']['numeric']['message'] = __d('replacer', 'Only numeric values are allowed'); $this->validate['limit']['comparison']['message'] = __d('replacer', 'Value must be greater or equal to -1'); parent::__construct($id, $table, $ds); }
public function __construct($id = false, $table = NULL, $ds = NULL) { $this->validate['name']['notempty']['message'] = __d('replacer', 'Field required'); $this->validate['pattern']['notempty']['message'] = __d('replacer', 'Field required'); parent::__construct($id, $table, $ds); }