Esempio n. 1
0
    /**
     * Returns a key based on the context to persist state values
     *
     * @param 	KControllerContextInterface $context The active controller context
     * @return  string
     */
    protected function _getStateKey(KControllerContextInterface $context)
    {
        $key = parent::_getStateKey($context);

        $page = $context->getRequest()->getQuery()->get('page', 'int');

        if (is_scalar($page)) {
            $key .= '.'.$page;
        }

        return $key;
    }
Esempio n. 2
0
 protected function _afterRender(KControllerContextInterface $context)
 {
     parent::_afterBrowse($context);
 }