silverorange Code


Pinhole.PinholePhotographerIndex
/Pinhole/admin/components/Photographer/Index.php at line 14

Class PinholePhotographerIndex

SwatObject
└─SiteObject
└─SiteAbstractPage
└─SitePage
└─AdminPage
└─AdminIndex
└─PinholePhotographerIndex

public class PinholePhotographerIndex
extends AdminIndex

Index page for photographers

Copyright:
2007 silverorange
License:
http://www.gnu.org/copyleft/lesser.html LGPL License 2.1

Field Summary
protected mixed

$ui_xml

Method Summary
protected void

buildInternal()

Build the page for display.

protected SwatTableModel

getTableModel(mixed view)

Gets photographer data.

protected void

initInternal()

Initialize the page.

protected void

processActions(SwatTableView view, SwatActions actions)

Processes photographer actions.

Methods inherited from Admin.AdminIndex
buildForms, buildInternal, buildViews, getOrderByClause, getTableModel, processActions, processInternal
Methods inherited from Admin.AdminPage
build, buildInternal, buildMessages, createLayout, display, finalize, formsAreAuthenticated, getComponentName, getComponentTitle, getRefererURL, getRelativeURL, init, initInternal, process, processInternal
Methods inherited from Site.SitePage
build, buildContent, buildMetaDescription, buildNavBar, buildTitle, createLayout
Methods inherited from Site.SiteAbstractPage
build, finalize, getArgument, getArgumentMap, getSource, init, process, setLayout, setSource

Field Detail

/Pinhole/admin/components/Photographer/Index.php at line 18

ui_xml

protected mixed $ui_xml = 'Pinhole/admin/components/Photographer/index.xml'

Method Detail

/Pinhole/admin/components/Photographer/Index.php at line 75

buildInternal

protected void buildInternal()

Build the page for display

Sub-classes should implement this method to initialize elements of the page. This method is called at the beginning of . This is useful to do database queries that are only needed for AdminPage::display() and not , while initialization needed for both display and process should be included in AdminPage::init().


/Pinhole/admin/components/Photographer/Index.php at line 91

getTableModel

protected SwatTableModel getTableModel(mixed view)

Gets photographer data

Returns:
with photographer information.

/Pinhole/admin/components/Photographer/Index.php at line 26

initInternal

protected void initInternal()

Initialize the page

Sub-classes should implement this method to initialize the page. At this point the AdminPage::$ui has been constructed but has not been initialized.


/Pinhole/admin/components/Photographer/Index.php at line 44

processActions

protected void processActions(SwatTableView view, SwatActions actions)

Processes photographer actions

Parameters:
view - the table-view to get selected photographers from.
actions - the actions list widget.

silverorange Code