Fix for "Notice: Indirect modification of overloaded property $paginate has no effect" in controller

Declaring the property "public $paginate = array();" in the controller class fixes the error "Notice: Indirect modification of overloaded property $paginate has no effect".