\ShortListController
Synopsis
class ShortListController
extends Page_Controller
{
- // members
- private static array $allowed_actions = ;
- private static array $url_handlers = ;
- private static array $extensions = ;
- // methods
- public void init()
- public void index()
- public void Link()
- public void renderList()
- public void performAction()
- public mixed shortListCount()
- public static void getShortListSession()
- public static void getSecurityToken()
- private void determineAction()
- private void getSessionShortList()
- private void renderAjax()
- private void dontRender()
- private void isSessionValid()
- private void dontPerformAction()
Hierarchy
Extends
- Page_Controller
Members
private
- $allowed_actions
- $extensions
- $url_handlers
Methods
private
- determineAction() — Determine the action based upon the url requested.
- dontPerformAction() — Don't perform an action.
- dontRender() — Don't render the template!
- getSessionShortList() — Return a valid shortlist - or null.
- isSessionValid() — Is this session valid?
- renderAjax() — Return the json encoded count & url for the current session
public
- Link() — Get the absolute URL of this controller.
- getSecurityToken() — Get the token to use to add/remove from shortlist.
- getShortListSession()
- index() — When landing on the homepage, if there is a shortlist for the current user, redirect to the correct URL. Otherwise, 404.
- init()
- performAction()
- renderList()
- shortListCount() — Get the number of items in the current short list.