Comments: on this page. Click to read or post your own.
Provides a common interface for searching, viewing and editing DataObjects.
Extend the class to adjust functionality to your specific DataObjects.
Located in /cms/code/GenericDataAdmin.php (line 11)
Object | --ViewableData | --RequestHandlingData | --Controller | --LeftAndMain | --GenericDataAdmin
Specifies which information should be listed in the results-box, either in "table"- or "list"-format (see {$result_format}).
Format "table": array( 'AccountName' => 'AccountName' )
Format "list": see {@DataObject->buildNestedUL}
Inherited from LeftAndMain
LeftAndMain::$application_link
LeftAndMain::$application_logo
LeftAndMain::$application_logo_style
LeftAndMain::$application_logo_text
LeftAndMain::$application_name
LeftAndMain::$extra_requirements
LeftAndMain::$ForceReload
LeftAndMain::$loading_image
LeftAndMain::$menu_items
LeftAndMain::$tree_class
Inherited from Controller
Controller::$action
Controller::$baseInitCalled
Controller::$basicAuthEnabled
Controller::$controller_stack
Controller::$request
Controller::$requestParams
Controller::$response
Controller::$session
Controller::$urlParams
Controller::$url_handlers
Inherited from ViewableData
ViewableData::$casting
ViewableData::$castingHelperPair_cache
ViewableData::$customisedObj
ViewableData::$failover
ViewableData::$iteratorPos
ViewableData::$iteratorTotalItems
ViewableData::$namedAs
ViewableData::$parent
ViewableData::$_natural_cache
ViewableData::$_object_cache
ViewableData::$_xml_cache
Inherited from Object
Object::$builtInMethods
Object::$class
Object::$classConstructed
Object::$extensions
Object::$extension_instances
Object::$extraMethods
Object::$extraStatics
Object::$statics
Object::$static_cached
Legacy
Add a new DataObject
Delete a given Dataobjebt by ID
Exports a given set of comma-separated IDs (from a previous search-query, stored in a HiddenField).
Uses {$csv_columns} if present, and falls back to {$result_columns}.
Determines fields and actions for the given {$data_type}, and populates these fields with values from {$data_type} and any connected {$data_type_extra}.
Adds default actions ("save" and "delete") if no custom actions are found. Returns an empty form if no fields or actions are found (on first load).
Provide custom link.
Form fields which trigger {getResults} and {peformSearch}.
Provide HTML in the following format to get auto-collapsing "advanced search"-fields. <div id="BasicSearchFields"></div> <div class="ToggleAdvancedSearchFields" style="display:none"><a href="#">Show advanced options</a></div> <div id="AdvancedSearchFields"></div>
Sets Requirements and checks for Permissions.
Subclass this function to add custom Requirements.
Execute a query based on {$filter} and build a DataObjectSet out of the results.
Display the results of the search.
Save generic data handler
Inherited From LeftAndMain
LeftAndMain::addTreeNodeJS()
LeftAndMain::add_menu_item()
LeftAndMain::ajaxupdateparent()
LeftAndMain::ajaxupdatesort()
LeftAndMain::ApplicationLink()
LeftAndMain::callPageMethod()
LeftAndMain::canAccessCMS()
LeftAndMain::canAdminCMS()
LeftAndMain::clear_menu()
LeftAndMain::CMSVersion()
LeftAndMain::currentPage()
LeftAndMain::currentPageID()
LeftAndMain::deleteitems()
LeftAndMain::deleteTreeNodeJS()
LeftAndMain::EditForm()
LeftAndMain::EditorToolbar()
LeftAndMain::ForceReload()
LeftAndMain::getActionUpdateJS()
LeftAndMain::getApplicationLogoText()
LeftAndMain::getApplicationName()
LeftAndMain::getitem()
LeftAndMain::getLastFormIn()
LeftAndMain::getRecord()
LeftAndMain::getSiteTreeFor()
LeftAndMain::getsubtree()
LeftAndMain::getTemplatesWithSuffix()
LeftAndMain::get_menu_item()
LeftAndMain::get_menu_items()
LeftAndMain::init()
LeftAndMain::isCurrentPage()
LeftAndMain::Left()
LeftAndMain::Link()
LeftAndMain::LoadingImage()
LeftAndMain::LogoStyle()
LeftAndMain::MainMenu()
LeftAndMain::MceRoot()
LeftAndMain::Member_ProfileForm()
LeftAndMain::myprofile()
LeftAndMain::populate_default_menu()
LeftAndMain::printable()
LeftAndMain::remove_menu_item()
LeftAndMain::replace_menu_item()
LeftAndMain::require_css()
LeftAndMain::require_javascript()
LeftAndMain::require_themed_css()
LeftAndMain::returnItemToUser()
LeftAndMain::Right()
LeftAndMain::RightBottom()
LeftAndMain::save()
LeftAndMain::SectionTitle()
LeftAndMain::setApplicationName()
LeftAndMain::setCurrentPageID()
LeftAndMain::setLogo()
LeftAndMain::set_loading_image()
LeftAndMain::show()
Inherited From Controller
Controller::AbsoluteLink()
Controller::can()
Controller::curr()
Controller::currentController()
Controller::CurrentMember()
Controller::defaultAction()
Controller::disableBasicAuth()
Controller::getAction()
Controller::getFormOwner()
Controller::getRequest()
Controller::getResponse()
Controller::getSession()
Controller::getURLParams()
Controller::getViewer()
Controller::handleAction()
Controller::handleRequest()
Controller::has_curr()
Controller::init()
Controller::isAjax()
Controller::join_links()
Controller::LinkTo()
Controller::Now()
Controller::PastMember()
Controller::PastVisitor()
Controller::popCurrent()
Controller::pushCurrent()
Controller::redirect()
Controller::redirectedTo()
Controller::render()
Controller::setSession()
Controller::setURLParams()
Inherited From RequestHandlingData
RequestHandlingData::checkAccessAction()
RequestHandlingData::getRequest()
RequestHandlingData::handleRequest()
RequestHandlingData::httpError()
Inherited From ViewableData
ViewableData::ATT_val()
ViewableData::BaseHref()
ViewableData::buildCastingHelperCache()
ViewableData::cachedCall()
ViewableData::castingHelper()
ViewableData::castingHelperPair()
ViewableData::castingObjectCreator()
ViewableData::castingObjectCreatorPair()
ViewableData::CSSClasses()
ViewableData::CurrentMember()
ViewableData::CurrentPage()
ViewableData::customise()
ViewableData::Debug()
ViewableData::defineMethods()
ViewableData::escapeTypeForField()
ViewableData::Even()
ViewableData::EvenOdd()
ViewableData::First()
ViewableData::FirstLast()
ViewableData::getField()
ViewableData::getIterator()
ViewableData::getXMLValues()
ViewableData::hasField()
ViewableData::HasPerm()
ViewableData::hasValue()
ViewableData::i18nLocale()
ViewableData::IsAjax()
ViewableData::iteratorProperties()
ViewableData::JS_val()
ViewableData::Last()
ViewableData::Me()
ViewableData::Middle()
ViewableData::MiddleString()
ViewableData::obj()
ViewableData::Odd()
ViewableData::Pos()
ViewableData::RAW_val()
ViewableData::renderWith()
ViewableData::SecurityID()
ViewableData::setCustomisedObj()
ViewableData::setField()
ViewableData::SQL_val()
ViewableData::ThemeDir()
ViewableData::Top()
ViewableData::TotalItems()
ViewableData::val()
ViewableData::XML_val()
ViewableData::__get()
ViewableData::__isset()
ViewableData::__set()
Inherited From Object
Object::__construct()
Object::addMethodsFrom()
Object::addStaticVars()
Object::addWrapperMethod()
Object::add_extension()
Object::allMethodNames()
Object::buildMethodList()
Object::cacheToFile()
Object::cacheToFileWithArgs()
Object::create()
Object::createMethod()
Object::defineMethods()
Object::exists()
Object::extend()
Object::extInstance()
Object::getCustomClass()
Object::hasExtension()
Object::hasMethod()
Object::invokeWithExtensions()
Object::is_a()
Object::loadCache()
Object::parentClass()
Object::sanitiseCachename()
Object::saveCache()
Object::set_stat()
Object::set_uninherited()
Object::stat()
Object::strong_create()
Object::uninherited()
Object::useCustomClass()
Object::__call()
Object::__toString()
Documentation generated on Tue, 07 Oct 2008 15:57:23 +1300 by phpDocumentor 1.3.2