silverorange Code


Site.SiteArticleOrder
/Site/admin/components/Article/Order.php at line 13

Class SiteArticleOrder

SwatObject
└─SiteObject
└─SiteAbstractPage
└─SitePage
└─AdminPage
└─AdminOrder
└─AdminDBOrder
└─SiteArticleOrder

public class SiteArticleOrder
extends AdminDBOrder

Order page for Articles

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

Field Summary
protected mixed

$parent

Method Summary
protected void

buildInternal()

Build the page for display.

protected void

buildNavBar()

protected void

getWhereClause()

protected void

initInternal()

Initialize the page.

protected void

loadData()

Load the data.

protected void

saveIndex(mixed id, integer index)

Save index.

Methods inherited from Admin.AdminDBOrder
saveDBData, saveData
Methods inherited from Admin.AdminOrder
buildButton, buildForm, buildInternal, buildNavBar, buildOptionList, display, getInlineJavaScript, getUpdatedMessage, initInternal, loadData, processInternal, relocate, saveData, saveIndex, saveIndexes
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

/Site/admin/components/Article/Order.php at line 17

parent

protected mixed $parent

Method Detail

/Site/admin/components/Article/Order.php at line 60

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().


/Site/admin/components/Article/Order.php at line 89

buildNavBar

protected void buildNavBar()

/Site/admin/components/Article/Order.php at line 22

getWhereClause

protected void getWhereClause()

/Site/admin/components/Article/Order.php at line 36

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.


/Site/admin/components/Article/Order.php at line 71

loadData

protected void loadData()

Load the data

This method is called to load data to be edited into the widgets. Sub-classes should implement this method and perform whatever actions are necessary to obtain the data. Widgets can be accessed through the $ui class variable.


/Site/admin/components/Article/Order.php at line 50

saveIndex

protected void saveIndex(mixed id, integer index)

Save index

This method is called by AdminOrder::saveIndexes() to save a single ordering index. Sub-classes should implement this method and perform whatever actions are necessary to store the ordering index.

Parameters:
id - an integer identifier of the option to which ordering information is saved.
index - the ordering index to store.

silverorange Code