SwatObject
└─SiteObject
└─SiteAbstractPage
└─SitePage
└─AdminPage
└─AdminOrder
└─AdminDBOrder
└─SiteArticleOrder
public class SiteArticleOrder
extends AdminDBOrder
| Field Summary | |
|---|---|
| protected mixed | |
| Method Summary | |
|---|---|
| protected void | Build the page for display. |
| protected void | |
| protected void | |
| protected void | 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 | |
protected mixed $parent
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().
protected void buildNavBar()
protected void getWhereClause()
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.
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.
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.
id - an integer identifier of the option to which ordering information is saved.index - the ordering index to store.
Order page for Articles