silverorange Code


Pinhole.PinholeTagIndex
/Pinhole/admin/components/Tag/Index.php at line 18

Class PinholeTagIndex

SwatObject
└─SiteObject
└─SiteAbstractPage
└─SitePage
└─AdminPage
└─AdminIndex
└─AdminSearch
└─PinholeTagIndex

public class PinholeTagIndex
extends AdminSearch

Search page for tags

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

Field Summary
protected mixed

$ui_xml

protected mixed

$where_clause

Method Summary
protected void

buildComponentTitlesAndLinks()

protected void

buildInternal()

Build the page for display.

protected SwatTableModel

getTableModel(mixed view)

Retrieve data to display.

protected void

getWhereClause()

protected void

initInternal()

Initialize the page.

protected void

processActions(SwatTableView view, SwatActions actions)

Processes photographer actions.

protected void

processInternal()

Processes the page.

Methods inherited from Admin.AdminSearch
buildInternal, buildViews, clearState, getKey, hasState, loadState, processInternal, saveState
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/Tag/Index.php at line 22

ui_xml

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

/Pinhole/admin/components/Tag/Index.php at line 24

where_clause

protected mixed $where_clause

Method Detail

/Pinhole/admin/components/Tag/Index.php at line 112

buildComponentTitlesAndLinks

protected void buildComponentTitlesAndLinks()

/Pinhole/admin/components/Tag/Index.php at line 102

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/Tag/Index.php at line 157

getTableModel

protected SwatTableModel getTableModel(mixed view)

Retrieve data to display.

This method is called to load data to be displayed in the table view. Sub-classes should implement this method and perform whatever actions are necessary to obtain the data.

Returns:
A new SwatTableModel containing the data.

/Pinhole/admin/components/Tag/Index.php at line 133

getWhereClause

protected void getWhereClause()

/Pinhole/admin/components/Tag/Index.php at line 31

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/Tag/Index.php at line 67

processActions

protected void processActions(SwatTableView view, SwatActions actions)

Processes photographer actions

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

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

processInternal

protected void processInternal()

Processes the page

Sub-classes should implement this method to process the page. At this point the AdminPage::$ui has already been processed.


silverorange Code