public $validator;
public $errors ;
-
-
-
-// public $components = [
-// 'RequestHandler',
-// 'Crud.Crud' => [
-// 'actions' => [
-// 'Crud.Index',
-// 'Crud.View',
-// 'Crud.Add',
-// 'Crud.Edit',
-// 'Crud.Delete'
-// ],
-// 'listeners' => [
-// 'Crud.Api',
-// 'Crud.ApiPagination',
-// 'Crud.ApiQueryLog'
-// ]
-// ]
-// ];
-//
-// public $paginate = [
-// 'page' => 1,
-// 'limit' => 10,
-// 'maxLimit' => 100,
-// 'fields' => [
-// 'id', 'name', 'description'
-// ],
-// 'sortWhitelist' => [
-// 'id', 'name', 'description'
-// ]
-// ];
/**
* Initialization hook method.