silverorange Code


Store.StoreAttributeEdit
/Store/admin/components/Attribute/Edit.php at line 17

Class StoreAttributeEdit

SwatObject
└─SiteObject
└─SiteAbstractPage
└─SitePage
└─AdminPage
└─AdminEdit
└─AdminDBEdit
└─StoreAttributeEdit

public class StoreAttributeEdit
extends AdminDBEdit

Edit page for Attribute Types

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

Method Summary
protected void

buildInternal()

Build the page for display.

protected void

initAttribute()

protected void

initInternal()

Initialize the page.

protected void

loadDBData()

Load the data from the database.

protected void

saveDBData()

Save the data from the database.

protected void

updateAttribute()

protected void

validate()

Sub-classes should implement this method to perform validation.

Methods inherited from Admin.AdminDBEdit
loadDBData, loadData, saveDBData, saveData
Methods inherited from Admin.AdminEdit
buildButton, buildForm, buildFrame, buildInternal, buildNavBar, generateShortname, initInternal, loadData, processInternal, relocate, saveData, validate, validateShortname
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

Method Detail

/Store/admin/components/Attribute/Edit.php at line 122

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


/Store/admin/components/Attribute/Edit.php at line 47

initAttribute

protected void initAttribute()

/Store/admin/components/Attribute/Edit.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.


/Store/admin/components/Attribute/Edit.php at line 133

loadDBData

protected void loadDBData()

Load the data from the database

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.


/Store/admin/components/Attribute/Edit.php at line 89

saveDBData

protected void saveDBData()

Save the data from the database

This method is called to save data from the widgets after processing. Sub-classes should implement this method and perform whatever actions are necessary to store the data. Widgets can be accessed through the $ui class variable.


/Store/admin/components/Attribute/Edit.php at line 104

updateAttribute

protected void updateAttribute()

/Store/admin/components/Attribute/Edit.php at line 67

validate

protected void validate()

Sub-classes should implement this method to perform validation.


silverorange Code