Not Found
-
/home/bbsoft/public_html/bbsoft.rs/lib/Cake/Controller/Component/PaginatorComponent.php : 240
233 }234 $this->Controller->request['paging'] = array_merge(235 (array)$this->Controller->request['paging'],236 array($object->alias => $paging)237 );238239 if ($requestedPage > $page) {240 throw new NotFoundException();241 }242243 if (!in_array('Paginator', $this->Controller->helpers) &&244 !array_key_exists('Paginator', $this->Controller->helpers)245 ) {246 $this->Controller->helpers[] = 'Paginator';247 }248 return $results;
-
PaginatorComponent
➝
paginate
(
BusinessNews Object
(
[isMod…
, Array
(
)
, Array
(
)
)
/home/bbsoft/public_html/bbsoft.rs/lib/Cake/Controller/Controller.php : 10871080 * @param Model|string $object Model to paginate (e.g: model instance, or 'Model', or 'Model.InnerModel')1081 * @param string|array $scope Conditions to use while paginating1082 * @param array $whitelist List of allowed options for paging1083 * @return array Model query results1084 * @link http://book.cakephp.org/2.0/en/controllers.html#Controller::paginate1085 */1086 public function paginate($object = null, $scope = array(), $whitelist = array()) {1087 return $this->Components->load('Paginator', $this->paginate)->paginate($object, $scope, $whitelist);1088 }10891090 /**1091 * Called before the controller action. You can use this method to configure and customize components1092 * or perform logic that needs to happen before each controller action.1093 *1094 * @return void1095 * @link http://book.cakephp.org/2.0/en/controllers.html#request-life-cycle-callbacks -
Controller
➝
paginate
(
BusinessNews
)
/home/bbsoft/public_html/bbsoft.rs/VectorCMS/Controller/FrontController.php : 163156 $query = $order + $limit + $offset + $conditions;157158 # Pagination parameters159 $query = $this->Module->alterPaginationParams($query, $this->request);160 if (!empty($params['paginate'])) {161 $query['limit'] = (int) $params['paginate'];162 $this->paginate[$params['module']] = [ 'recursive' => 1 ] + $query;163 $this->set($plural, $this->paginate($params['module']));164 } else {165 $this->set($plural, $this->Module->find('all', $query));166 }167 }168 }169 $this->request->pageLinks = $this->pageLinks;170171 $this->set('page', $this->page); -
FrontController
➝
beforeFilter
(
CakeEvent Object
(
[_name:pr…
)
/home/bbsoft/public_html/bbsoft.rs/lib/Cake/Event/CakeEventManager.php : 243236 foreach ($listeners as $listener) {237 if ($event->isStopped()) {238 break;239 }240 if ($listener['passParams'] === true) {241 $result = call_user_func_array($listener['callable'], $event->data);242 } else {243 $result = call_user_func($listener['callable'], $event);244 }245 if ($result === false) {246 $event->stopPropagation();247 }248 if ($result !== null) {249 $event->result = $result;250 }251 } -
CakeEventManager
➝
dispatch
(
CakeEvent Object
(
[_name:pr…
)
/home/bbsoft/public_html/bbsoft.rs/lib/Cake/Controller/Controller.php : 677670 * - triggers Component `startup` methods.671 *672 * @return void673 * @triggers Controller.initialize $this674 * @triggers Controller.startup $this675 */676 public function startupProcess() {677 $this->getEventManager()->dispatch(new CakeEvent('Controller.initialize', $this));678 $this->getEventManager()->dispatch(new CakeEvent('Controller.startup', $this));679 }680681 /**682 * Perform the various shutdown processes for this controller.683 * Fire the Components and Controller callbacks in the correct order.684 *685 * - triggers the component `shutdown` callback. -
Controller
➝
startupProcess
(
)
/home/bbsoft/public_html/bbsoft.rs/lib/Cake/Routing/Dispatcher.php : 189182 *183 * @param Controller $controller Controller to invoke184 * @param CakeRequest $request The request object to invoke the controller for.185 * @return CakeResponse the resulting response object186 */187 protected function _invoke(Controller $controller, CakeRequest $request) {188 $controller->constructClasses();189 $controller->startupProcess();190191 $response = $controller->response;192 $render = true;193 $result = $controller->invokeAction($request);194 if ($result instanceof CakeResponse) {195 $render = false;196 $response = $result;197 } -
Dispatcher
➝
_invoke
(
FrontController Object
(
[pa…
, CakeRequest Object
(
[params…
)
/home/bbsoft/public_html/bbsoft.rs/lib/Cake/Routing/Dispatcher.php : 167160 if (!($controller instanceof Controller)) {161 throw new MissingControllerException(array(162 'class' => Inflector::camelize($request->params['controller']) . 'Controller',163 'plugin' => empty($request->params['plugin']) ? null : Inflector::camelize($request->params['plugin'])164 ));165 }166167 $response = $this->_invoke($controller, $request);168 if (isset($request->params['return'])) {169 return $response->body();170 }171172 $afterEvent = new CakeEvent('Dispatcher.afterDispatch', $this, compact('request', 'response'));173 $this->getEventManager()->dispatch($afterEvent);174 $afterEvent->data['response']->send();175 } -
Dispatcher
➝
dispatch
(
CakeRequest Object
(
[params…
, CakeResponse Object
(
[_stat…
)
/home/bbsoft/public_html/bbsoft.rs/VectorCMS/webroot/index.php : 146139 # Cronjob handler140 if (isset($argc) && $argc == 2 && isCLI()) {141 define('CRONJOB', $argv[1]);142 $Dispatcher->dispatch(new CakeRequest($argv[1]), new CakeResponse());143 exit;144 }145146 $Dispatcher->dispatch(new CakeRequest(), new CakeResponse([ 'charset' => Configure::read('App.encoding') ]));147