swipestripe
[ class tree: swipestripe ] [ index: swipestripe ] [ all elements ]

Class: AccountPage_Controller

Source Location: /code/customer/AccountPage.php

Class Overview

Page_Controller
   |
   --AccountPage_Controller

Display the account page with listing of previous orders, and display an individual order.


Author(s):

Version:

  • 1.0

Copyright:

  • Copyright (c) 2011, Frank Mullenger

Variables

Methods



Class Details

[line 112]
Display the account page with listing of previous orders, and display an individual order.



Tags:

author:  Frank Mullenger <frankmullenger@gmail.com>
version:  1.0
copyright:  Copyright (c) 2011, Frank Mullenger


[ Top ]


Class Variables

static $allowed_actions = array (
    'index',
    'order',
     'downloadproduct',
    'logout'
  )

[line 119]

Allowed actions that can be invoked.



Tags:

var:  Set of actions

Type:   Array


[ Top ]



Class Methods


method index [line 132]

Array index( )

Check access permissions for account page and return content for displaying the default page.



Tags:

return:  Content data for displaying the page.


[ Top ]

method logout [line 200]

void logout( )

Log the current member out and redirect to home page.



Tags:

access:  public


[ Top ]

method order [line 157]

Array order( $request)

Return the Order details for the current Order ID that we're viewing (ID parameter in URL).



Tags:

return:  Content for displaying the page


Parameters:

   $request  

[ Top ]


Documentation generated on Thu, 08 Mar 2012 16:47:24 +1300 by phpDocumentor 1.4.4