PHP Class AccountPage, silvershop-core

Inheritance: extends Page
Show file Open project: burnbright/silverstripe-shop Class Usage Examples

Public Methods

Method Description
canCreate ( $member = null, $context = [] )
find_link ( boolean $urlSegment = false ) : mixed Returns the link or the URLSegment to the account page on this site
get_order_link ( integer | string $orderID, boolean $urlSegment = false ) : string Return a link to view the order on the account page.
requireDefaultRecords ( ) This module always requires a page model.

Protected Methods

Method Description
get_if_account_page_exists ( ) : AccountPage

Method Details

canCreate() public method

public canCreate ( $member = null, $context = [] )

get_if_account_page_exists() protected static method

protected static get_if_account_page_exists ( ) : AccountPage
return AccountPage

requireDefaultRecords() public method

This module always requires a page model.