Docs For Class atkDataNode
Atk API home Class tree Element index

Todo list

Packages: » atk Classes: general » AllTests » atkConfig » atkController » atkDataNode » atkErrorHandlerBase » atkFileEditor » atkLanguage » atkMailErrorHandler » atkMetaNode » atkMockNode » atkNode » atkNodeValidator » atkOneToManyRelationSessionGridHandler » atkPHPView » atkSessionStore » atkStatementIterator » atkTreeNode » atkWizardBase » atkZendPlatformErrorHandler » clsTbsDataSource » clsTbsLocator » clsTinyButStrong » clsTinyButStrongOOo » FCKeditor » getSupportedLanguagesCollector » layout » node » sql_whereclause_blacklist_checker » test » tree utils » atkAbstractFrame » atkActionListener » atkClassFinder » atkClassLoader » atkCompatSelector » atkDataHolder » atkDebugger » atkDirectoryTraverser » atkEventLog » atkFileUtils » atkFrame » atkFrameSet » atkIpUtils » atkJSON » atkMail » atkMailer » atkMessageQueue » atkMLSelector » atkmlsplitter » atkRootFrameset » atkSelector » atkSelectorIterator » atkString » atkStringParser » atkTableRenderer » atkTableRendererGrouped » atkTextMarker » atkTmpFile » atkTriggerListener » atkYAML » atkZip » browserInfo fixture » atkAbstractFixtureLoader » atkFixtureManager » atkPHPFixtureLoader » atkYAMLFixtureLoader testcases » atkAbstractSearchHandler ui » atkActionBoxBuilder » atkDialog » atkIndexPage » atkOutput » atkPage » atkPageBuilder » atkTheme » atkThemeCompiler » atkUI handlers » atkActionHandler » atkAddHandler » atkAddOrCopyHandler » atkAdminHandler » atkAttributeEditHandler » atkCopyHandler » atkDeleteHandler » atkDocumentHandler » atkEditCopyHandler » atkEditHandler » atkExportHandler » atkFeedbackHandler » atkFileExport » atkImportHandler » atkMultiSelectHandler » atkMultiUpdatehandler » atkSaveHandler » atkSearchHandler » atkSelectHandler » atkSmartSearchHandler » atkUpdatehandler » atkViewEditBase » atkViewHandler » atkXmlHandler attributes » atkAggregatedColumn » atkAttribute » atkBoolAttribute » atkCalculatorAttribute » atkCaptchaAttribute » atkColorPickerAttribute » atkCountryAttribute » atkCreatedByAttribute » atkCreateStampAttribute » atkCurrencyAttribute » atkDateAttribute » atkDateTimeAttribute » atkDocumentAttribute » atkDummyAttribute » atkDurationAttribute » atkEmailAttribute » atkExpressionAttribute » atkFckAttribute » atkFieldSet » atkFileAttribute » atkFileWriterAttribute » atkFlagAttribute » atkFormatAttribute » atkFuzzySearchAttribute » atkHiddenAttribute » atkHtmlAttribute » atkIpAttribute » atkListAttribute » atkLiveTextPreview » atkMlAttribute » atkMlFckAttribute » atkMlHtmlAttribute » atkMlNumberAttribute » atkMlSelectorAttribute » atkMlTextAttribute » atkMlWrapper » atkMultipleFileAttribute » atkMultiSelectAttribute » atkNumberAttribute » atkParserAttribute » atkPasswordAttribute » atkProfileAttribute » atkRadioAttribute » atkRadioDetailsAttribute » atkRowCounter » atkStateAttribute » atkTabbedPane » atkTagAttribute » atkTextAttribute » atkTimeAttribute » atkTimeZoneAttribute » atkToolbar » atkUpdatedByAttribute » atkUpdateStampAttribute » atkUrlAttribute » atkWeekdayAttribute » atkWysiwygAttribute datatypes » atkArrayDt » atkDataType » atkStringDt » atkTime subpackage » atkAttributeTestCase security » atkBajusEncryption » atkBase64Encryption » atkEncryption » atkMockSecurityManager » atkOpenSSLEncryption » atkSecurityListener » atkSecurityManager » atkUrlVault » auth_config » auth_db » auth_imap » auth_interface » auth_ldap » auth_none » auth_pop3 » auth_saml » auth_server » auth_sspi cache » atkCache » atkCache_apc » atkCache_eaccelerator » atkCache_file » atkCache_memcache » atkCache_var » atkCache_xcache » atkCache_zp_disk » atkCache_zp_output » atkCache_zp_shm test » atkCacheTestCase » atkPluginTestCase » atkTestCase » test_sql_whereclause_blacklist_checker db » atkClusterDb » atkClusterDDL » atkClusterQuery » atkDb » atkdb2db » atkDb2DDL » atkDb2Query » atkDDL » atki5db » atki5DDL » atki5query » atkMockDb » atkMockDDL » atkMockQuery » atkMsSqlDb » atkMsSqlDDL » atkMssqlQuery » atkMysqlDb » atkMysqlDDL » atkMysqliDb » atkMysqliDDL » atkMysqliQuery » atkMysqlQuery » atkOci8Db » atkOci8DDL » atkOci8Query » atkOci9Db » atkOci9DDL » atkOci9Query » atkOci805Db » atkOci805Query » atkPgsqlDb » atkPgsqlDDL » atkPgsqlQuery » atkQuery recordlist » atkColumnConfig » atkCSVRecordList » atkCustomRecordList » atkExcelCSVRecordList » atkHTMLRecordList » atkPrintableRecordList » atkRecordList » atkRecordlistCache » atkTotalizer db-statement » atkCompatStatement » atkMySQLiStatement » atkStatement » atkStatementException » atkStatementParser console » atkConsoleController menu » atkcookmenu » atkDhtmlMenu » atkDropdownMenu » atkFramesMenu » atkMenu » atkmenuinterface » atkModernMenu » atkOutlookMenu » atkPlainMenu datagrid » atkDataGrid » atkDGComponent » atkDGEditControl » atkDGEvent » atkDGIndex » atkDGLimit » atkDGList » atkDGNoRecordsFound » atkDGPaginator » atkDGRenderer » atkDGSummary lock » atkDbLock » atkLock filters » atkDistinctFilter » atkFilter » atkGroupByFilter document » atkDocumentWriter » atkDocxWriter » atkOpenDocumentWriter meta » atkDutchMetaGrammar » atkMetaAttributeModifier » atkMetaCompiler » atkMetaGrammar » atkMetaPolicy » mod_meta relations » atkExtendableShuttleRelation » atkManyBoolRelation » atkManyToManyListRelation » atkManyToManyRelation » atkManyToManySelectRelation » atkManyToOneRelation » atkManyToOneTreeRelation » atkMatrixRelation » atkOneToManyRelation » atkOneToOneRelation » atkPolymorphicOneToOneRelation » atkRelation » atkSecureRelation » atkShuttleControl » atkShuttleFilter » atkShuttleRelation front » atkFrontController » atkFrontControllerBridge keyboard » atkKeyboard meta-relations » atkMetaExtendableShuttleRelation » atkMetaManyBoolRelation » atkMetaManyToManyListRelation » atkMetaManyToManySelectRelation » atkMetaManyToOneRelation » atkMetaOneToManyRelation » atkMetaOneToOneRelation » atkMetaShuttleRelation session » atkMockSessionManager » atkSessionManager » atkState modules » atkModule » mod_test listeners » atkRecycleBin interface » atkServer » atkSoapServer wizard » atkWizard » AtkWizardActionLoader » atkWizardPanel
Interfaces: datagrid » atkDGListener interface » atkServerInterface
Files: general » adodb-time.inc.php » AllTests.php » atknodetools.inc » atktools.inc » atktreetools.inc » basexml.php » bootstrap.inc » bootstrap.php » class.atkconfig.inc » class.atkcontroller.inc » class.atkdatanode.inc » class.atkerrorhandlerbase.inc » class.atkfileeditor.inc » class.atki5db.inc » class.atki5ddl.inc » class.atki5query.inc » class.atklanguage.inc » class.atkmailerrorhandler.inc » class.atkmetanode.inc » class.atkmocknode.inc » class.atkmocksessionmanager.inc » class.atknode.inc » class.atknodevalidator.inc » class.atkonetomanyrelationsessiongridhandler.inc » class.atkphpview.inc » class.atkpolymorphiconetoonerelation.inc » class.atksessionstore.inc » class.atkstatementiterator.inc » class.atktreenode.inc » class.atkwizardbase.inc » class.atkzendplatformerrorhandler.inc » class.layout.inc » class.nodename.inc » class.sql_whereclause_blacklist_checker.inc » class.test.inc » class.test_sql_whereclause_blacklist_checker.inc » commands.php » config.modules.inc » config.php » connector.php » console.php » db2yaml.php » defaultconfig.inc.php » fckeditor.php » fckeditor_php4.php » fckeditor_php5.php » io.php » module.inc » phpcompat.php » server.php » spellchecker.php » table2yaml.php » tbsooo_class.php » tbs_class.php » tooltip.tpl.php » upload.php » util.php » version.inc attributes » class.atkaggregatedcolumn.inc » class.atkattribute.inc » class.atkboolattribute.inc » class.atkcalculatorattribute.inc » class.atkcaptchaattribute.inc » class.atkcolorpickerattribute.inc » class.atkcountryattribute.inc » class.atkcreatedbyattribute.inc » class.atkcreatestampattribute.inc » class.atkcurrencyattribute.inc » class.atkdateattribute.inc » class.atkdatetimeattribute.inc » class.atkdocumentattribute.inc » class.atkdummyattribute.inc » class.atkdurationattribute.inc » class.atkemailattribute.inc » class.atkexpressionattribute.inc » class.atkfckattribute.inc » class.atkfieldset.inc » class.atkfileattribute.inc » class.atkfilewriterattribute.inc » class.atkflagattribute.inc » class.atkformatattribute.inc » class.atkfuzzysearchattribute.inc » class.atkhiddenattribute.inc » class.atkhtmlattribute.inc » class.atkipattribute.inc » class.atklistattribute.inc » class.atklivetextpreview.inc » class.atkmlattribute.inc » class.atkmlfckattribute.inc » class.atkmlhtmlattribute.inc » class.atkmlnumberattribute.inc » class.atkmlselectorattribute.inc » class.atkmltextattribute.inc » class.atkmlwrapper.inc » class.atkmultiplefileattribute.inc » class.atkmultiselectattribute.inc » class.atknumberattribute.inc » class.atkparserattribute.inc » class.atkpasswordattribute.inc » class.atkprofileattribute.inc » class.atkradioattribute.inc » class.atkradiodetailsattribute.inc » class.atkrowcounter.inc » class.atkstateattribute.inc » class.atktabbedpane.inc » class.atktagattribute.inc » class.atktextattribute.inc » class.atktimeattribute.inc » class.atktimezoneattribute.inc » class.atktoolbar.inc » class.atkupdatedbyattribute.inc » class.atkupdatestampattribute.inc » class.atkurlattribute.inc » class.atkweekdayattribute.inc » class.atkwysiwygattribute.inc attributes-- » property_accessor.php cache » class.atkcache.inc » class.atkcache_apc.inc » class.atkcache_eaccelerator.inc » class.atkcache_file.inc » class.atkcache_memcache.inc » class.atkcache_var.inc » class.atkcache_xcache.inc » class.atkcache_zp_disk.inc » class.atkcache_zp_output.inc » class.atkcache_zp_shm.inc console » class.atkconsolecontroller.inc datagrid » class.atkdatagrid.inc » class.atkdgcomponent.inc » class.atkdgeditcontrol.inc » class.atkdgevent.inc » class.atkdgindex.inc » class.atkdglimit.inc » class.atkdglist.inc » class.atkdglistener.inc » class.atkdgnorecordsfound.inc » class.atkdgpaginator.inc » class.atkdgrenderer.inc » class.atkdgsummary.inc datatypes » class.atkarraydt.inc » class.atkdatatype.inc » class.atkstringdt.inc » class.atktimedt.inc db » class.atkclusterdb.inc » class.atkclusterddl.inc » class.atkclusterquery.inc » class.atkdb.inc » class.atkdb2db.inc » class.atkdb2ddl.inc » class.atkdb2query.inc » class.atkddl.inc » class.atkmockdb.inc » class.atkmockddl.inc » class.atkmockquery.inc » class.atkmssqldb.inc » class.atkmssqlddl.inc » class.atkmssqlquery.inc » class.atkmysqldb.inc » class.atkmysqlddl.inc » class.atkmysqlidb.inc » class.atkmysqliddl.inc » class.atkmysqliquery.inc » class.atkmysqlquery.inc » class.atkoci8db.inc » class.atkoci8ddl.inc » class.atkoci8query.inc » class.atkoci9db.inc » class.atkoci9ddl.inc » class.atkoci9query.inc » class.atkoci805db.inc » class.atkoci805query.inc » class.atkpgsqldb.inc » class.atkpgsqlddl.inc » class.atkpgsqlquery.inc » class.atkquery.inc db-statement » class.atkcompatstatement.inc » class.atkmysqlistatement.inc » class.atkstatement.inc » class.atkstatementexception.inc » class.atkstatementparser.inc document » class.atkdocumentwriter.inc » class.atkdocxwriter.inc » class.atkopendocumentwriter.inc filters » class.atkdistinctfilter.inc » class.atkfilter.inc » class.atkgroupbyfilter.inc fixture » class.atkabstractfixtureloader.inc » class.atkfixturemanager.inc » class.atkphpfixtureloader.inc » class.atkyamlfixtureloader.inc front » class.atkfrontcontroller.inc » class.atkfrontcontrollerbridge.inc handlers » class.atkactionhandler.inc » class.atkaddhandler.inc » class.atkaddorcopyhandler.inc » class.atkadminhandler.inc » class.atkattributeedithandler.inc » class.atkcopyhandler.inc » class.atkdeletehandler.inc » class.atkdocumenthandler.inc » class.atkeditcopyhandler.inc » class.atkedithandler.inc » class.atkexporthandler.inc » class.atkfeedbackhandler.inc » class.atkfileexport.inc » class.atkimporthandler.inc » class.atkmultiselecthandler.inc » class.atkmultiupdatehandler.inc » class.atksavehandler.inc » class.atksearchhandler.inc » class.atkselecthandler.inc » class.atksmartsearchhandler.inc » class.atkupdatehandler.inc » class.atkvieweditbase.inc » class.atkviewhandler.inc » class.atkxmlhandler.inc include » autoload.inc » basics.inc » compatibility.inc » configs.inc » debugging.inc » errorhandler.inc » globals.inc » initial.inc » security.inc interface » class.atkserver.inc » class.atksoapserver.inc » interface.atkserverinterface.inc javascript » class.atkmultilanguage.js.php » class.atkprofileattribute.js.php » dhtml_tabs.js.php keyboard » class.atkkeyboard.inc listeners » class.atkrecyclebin.inc lock » class.atkdblock.inc » class.atklock.inc » lock.php lock-- » lock.js.php menu » atkmenutools.inc » class.atkcookmenu.inc » class.atkdhtmlmenu.inc » class.atkdropdownmenu.inc » class.atkframesmenu.inc » class.atkmenu.inc » class.atkmenuinterface.inc » class.atkmodernmenu.inc » class.atkoutlookmenu.inc » class.atkplainmenu.inc meta » class.atkdutchmetagrammar.inc » class.atkmetaattributemodifier.inc » class.atkmetacompiler.inc » class.atkmetagrammar.inc » class.atkmetapolicy.inc » module.inc meta-relations » class.atkmetaextendableshuttlerelation.inc » class.atkmetamanyboolrelation.inc » class.atkmetamanytomanylistrelation.inc » class.atkmetamanytomanyselectrelation.inc » class.atkmetamanytoonerelation.inc » class.atkmetaonetomanyrelation.inc » class.atkmetaonetoonerelation.inc » class.atkmetashuttlerelation.inc modules » class.atkmodule.inc modules-- » atkmoduletools.inc popups » colorpicker.inc recordlist » class.atkcolumnconfig.inc » class.atkcsvrecordlist.inc » class.atkcustomrecordlist.inc » class.atkexcelcsvrecordlist.inc » class.atkhtmlrecordlist.inc » class.atkprintablerecordlist.inc » class.atkrecordlist.inc » class.atkrecordlistcache.inc » class.atktotalizer.inc relations » class.atkextendableshuttlerelation.inc » class.atkmanyboolrelation.inc » class.atkmanytomanylistrelation.inc » class.atkmanytomanyrelation.inc » class.atkmanytomanyselectrelation.inc » class.atkmanytoonerelation.inc » class.atkmanytoonetreerelation.inc » class.atkmatrixrelation.inc » class.atkonetomanyrelation.inc » class.atkonetoonerelation.inc » class.atkrelation.inc » class.atksecurerelation.inc » class.atkshuttlecontrol.inc » class.atkshuttlefilter.inc » class.atkshuttlerelation.inc security » class.atkbajusencryption.inc » class.atkbase64encryption.inc » class.atkencryption.inc » class.atkmocksecuritymanager.inc » class.atkmocksecuritymanager.inc » class.atkopensslencryption.inc » class.atksecuritylistener.inc » class.atksecuritymanager.inc » class.atkurlvault.inc » class.auth_config.inc » class.auth_db.inc » class.auth_imap.inc » class.auth_interface.inc » class.auth_ldap.inc » class.auth_none.inc » class.auth_pop3.inc » class.auth_saml.inc » class.auth_server.inc » class.auth_sspi.inc session » class.atksessionmanager.inc » class.atkstate.inc skel » app.php » atk.inc » config.inc.php » debugger.php » dispatch.php » include.php » index.php » menu.php » top.php » welcome.php subpackage » class.atkattributetestcase.inc test » class.atkcachetestcase.inc » class.atkplugintestcase.inc » class.atktestcase.inc testcases » class.atkabstractsearchhandler.inc themes » themedef.inc » themedef.inc » themedef.inc » themedef.inc » themedef.inc » themedef.inc » themedef.inc » themedef.inc » themedef.inc » themedef.inc » themedef.inc » themedef.inc ui » block.atknavigator.php » block.atknavigatorinfo.php » class.atkactionboxbuilder.inc » class.atkdialog.inc » class.atkindexpage.inc » class.atkoutput.inc » class.atkpage.inc » class.atkpagebuilder.inc » class.atktheme.inc » class.atkthemecompiler.inc » class.atkui.inc » function.atkconf.php » function.atkconfig.php » function.atkdatefield.php » function.atkdispatchfile.php » function.atkfrontcontroller.php » function.atkloadscript.php » function.atkmessages.php » function.atkmoduledir.php » function.atkscript.php » function.atkstyle.php » function.atktext.php » function.atkthemeicon.php » function.atkthemeimg.php » function.stacktrace.php » modifier.atkjson.php » modifier.atkvardump.php » resource.string.php » resource.theme.php » resource.ui.php utils » atkbrowsertools.inc » class.atkactionlistener.inc » class.atkclassloader.inc » class.atkcompatselector.inc » class.atkdataholder.inc » class.atkdebugger.inc » class.atkdirectorytraverser.inc » class.atkeventlog.inc » class.atkfileutils.inc » class.atkframeset.inc » class.atkiputils.inc » class.atkjson.inc » class.atkmail.inc » class.atkmailer.inc » class.atkmessagequeue.inc » class.atkmlselector.inc » class.atkmlsplitter.inc » class.atkselector.inc » class.atkselectoriterator.inc » class.atkstring.inc » class.atkstringparser.inc » class.atktablerenderer.inc » class.atktablerenderergrouped.inc » class.atktextmarker.inc » class.atktmpfile.inc » class.atktriggerlistener.inc » class.atkyaml.inc » class.atkzip.inc » help.inc wizard » class.atkwizard.inc » class.atkwizardactionloader.inc » class.atkwizardpanel.inc
Home  ->  Documentation home  ->  Atk index  ->  Docs For Class atkDataNode [ package: atk ]

Class: atkDataNode

Source Location: /class.atkdatanode.inc

Class atkDataNode

Class Overview

The ATK data node can be used to create nodes that don't retrieve their data from the database.

The data can either be provided using the setData method or the getData method (and possibly other methods) can be overriden to provide the data dynamically.

Located in /class.atkdatanode.inc [line 28]

Wiki documentation

atkNode
   |
   --atkDataNode
Author(s): Information Tags:

Properties

Methods

[ Top ]

Inherited from parent

Inherited Properties Inherited Methods

Inherited From atkNode

atkNode::$m_action
atkNode::$m_actionListeners
atkNode::$m_attribIndexList
atkNode::$m_attribList
atkNode::$m_attribOrder
atkNode::$m_attribsizesset
atkNode::$m_attributeTabs
atkNode::$m_cascadingAttribs
atkNode::$m_db
atkNode::$m_defaultColumn
atkNode::$m_defaultlanguage
atkNode::$m_default_expanded_sections
atkNode::$m_default_order
atkNode::$m_default_tab
atkNode::$m_descHandler
atkNode::$m_descTemplate
atkNode::$m_editableListAttributes
atkNode::$m_edit_fieldprefix
atkNode::$m_extended_search_action
atkNode::$m_feedback
atkNode::$m_filledTabs
atkNode::$m_filters
atkNode::$m_flags
atkNode::$m_fuzzyFilters
atkNode::$m_handler
atkNode::$m_index
atkNode::$m_initialised
atkNode::$m_listExcludes
atkNode::$m_lngfield
atkNode::$m_lock
atkNode::$m_lockMode
atkNode::$m_modifier
atkNode::$m_module
atkNode::$m_mraSelectionMode
atkNode::$m_numbering
atkNode::$m_page
atkNode::$m_partial
atkNode::$m_postvars
atkNode::$m_primaryKey
atkNode::$m_priority_actions
atkNode::$m_priority_max
atkNode::$m_priority_min
atkNode::$m_recordActionsCallbacks
atkNode::$m_relations
atkNode::$m_rowClassCallback
atkNode::$m_search_action
atkNode::$m_sectionList
atkNode::$m_securityAlias
atkNode::$m_securityImplied
atkNode::$m_securityMap
atkNode::$m_seq
atkNode::$m_statusbarDone
atkNode::$m_table
atkNode::$m_tabList
atkNode::$m_triggerListeners
atkNode::$m_type
atkNode::$m_uniqueFieldSets
atkNode::$m_unsecuredActions
atkNode::$m_validate_class
atkNode::$m_viewExcludes

Inherited From atkNode

atkNode::atkNode()
Constructor.
atkNode::actionTitle()
Generate a title for a certain action on a certain action.
atkNode::add()
Add an atkAttribute (or one of its derivatives) to the node.
atkNode::addAllowedAction()
Disable privilege checking for an action.
atkNode::addDb()
Save a new record to the database.
atkNode::addDefaultExpandedSections()
Add sections that must be expanded by default.
atkNode::addFieldSet()
Add fieldset.
atkNode::addFilter()
Add a recordset filter.
atkNode::addFlag()
Add a flag to the node.
atkNode::addListener()
Add an atkActionListener to the node.
atkNode::addSecurityMap()
Set the security of one or more actions action the same as other actions.
atkNode::addStyle()
Add a stylesheet to the page.
atkNode::addToQuery()
Add this node to an existing query.
atkNode::addUniqueFieldset()
Add a unique field set.
atkNode::allowed()
This function determines if the user has the privilege to perform a certain action on the node.
atkNode::atkNodeType()
Get the full atknodetype of this node (module.nodetype notation). This is sometimes referred to as the node name (or nodename) or node string.
atkNode::attribSort()
This function resorts the attribIndexList and attribList.
atkNode::attrib_cmp()
Small compare function for sorting attribs on order field
atkNode::buildTabs()
Builds a list of tabs.
atkNode::callHandler()
Invoke the handler for an action.
atkNode::changeMapping()
change the securitymap that already exist. Where actions are mapped on $oldmapped change it by $newmapped
atkNode::checkAttributeSecurity()
Check attribute security.
atkNode::checkEmptyTabs()
Remove tabs without attribs from the tablist
atkNode::checkTabRights()
Check if the user has the rights to access existing tabs and removes tabs from the list that may not be accessed
atkNode::collectRecordActions()
Function that is called for each record in a recordlist, to determine what actions may be performed on the record.
atkNode::confirmAction()
Function returns a page in which the user is asked if he really wants to perform a certain action.
atkNode::confirmActionText()
Determine the confirmation message.
atkNode::copyDb()
Copy a record in the database.
atkNode::createPageBuilder()
Returns a new page builder instance.
atkNode::defaultActions()
Retrieve an array with the default actions for a certain mode.
atkNode::deleteDb()
Delete record(s) from the database.
atkNode::descriptor()
Determine a descriptor of a record.
atkNode::descriptorFields()
Retrieve the list of attributes that are used in the descriptor definition.
atkNode::dispatch()
This is the wrapper method for all http requests on a node.
atkNode::editArray()
Function outputs an array with edit fields. For each field the array contains the name, edit HTML code etc. (name, html, obligatory, error, label)
atkNode::edit_values()
Retrieve new values for an existing record.
atkNode::escapeSQL()
Escape SQL string, uses the node's database to do the escaping.
atkNode::executeTrigger()
Executes a trigger on a add,update or delete action
atkNode::feedbackUrl()
Determine the url for the feedbackpage.
atkNode::fetchByPk()
Returns a record (array) as identified by a primary key (usually an "id" column), including applicable relations.
atkNode::filledInForm()
Checks if the user has filled in something: return true if he has, otherwise return false
atkNode::genericPage()
Render a generic page, with a box, title, stacktrace etc.
atkNode::getAction()
Returns the current action for this node.
atkNode::getActiveSections()
Get the active sections.
atkNode::getActiveTab()
Returns the currently active tab.
atkNode::getAttribute()
Get an attribute by name.
atkNode::getAttributeNames()
Returns a list of attribute names.
atkNode::getAttributeOrder()
Gets the attribute order.
atkNode::getAttributes()
Gets all the attributes.
atkNode::getColumnConfig()
Get the column configuration object
atkNode::getDb()
Get the database connection for this node.
atkNode::getDefaultActionParams()
Determine the default form parameters for an action template.
atkNode::getDefaultColumn()
Returns the default column name.
atkNode::getDescriptorHandler()
Get descriptor handler.
atkNode::getDescriptorTemplate()
Returns the descriptor template for this node.
atkNode::getEditFieldPrefix()
Get the edit fieldprefix to use
atkNode::getExtendedSearchAction()
Get extended search action.
atkNode::getFirstTargetFieldFromFilterSql()
Get the targeted field and table from a snippet of filter string sql
atkNode::getFlags()
Returns the node flags.
atkNode::getFormButtons()
Returns the form buttons for a certain page.
atkNode::getHandler()
Get the atkActionHandler object for a certain action.
atkNode::getHelp()
Retrieve help link for the current node.
atkNode::getLockMode()
Returns the lock mode.
atkNode::getLockStatusIcon()
Get img tag for lock icon.
atkNode::getModule()
Returns the module for this node.
atkNode::getMRASelectionMode()
Returns the multi-record-action selection mode.
atkNode::getNumbering()
Gets the numbering of the attributes
atkNode::getOrder()
Get default sort order for the node.
atkNode::getPage()
Get the page instance of the page on which the node can render output.
atkNode::getPartial()
Returns the current partial name.
atkNode::getRowClassCallback()
Return array with callback function list, which use for add css class to row
atkNode::getSearchCondition()
Get search condition for this node.
atkNode::getSearchMode()
Get the current searchmode.
atkNode::getSections()
Retrieve the sections for the active tab.
atkNode::getSecurityAlias()
Returns the node's security alias (if set).
atkNode::getTabFromSection()
Strip section part from a section and return the tab.
atkNode::getTable()
Returns the table name for this node.
atkNode::getTabs()
Get a list of tabs for a certain action.
atkNode::getTabsFromSections()
Retrieve the tabnames from the sections string (tab.section).
atkNode::getTemplate()
Get the template to use for a certain action.
atkNode::getType()
Returns the type of this node. (This is *not* the full ATK node type; see atkNodeType() for the full node type.)
atkNode::getUi()
Get the ui instance for drawing and templating purposes.
atkNode::groupFieldsBySection()
Group fields by section.
atkNode::hasFlag()
Checks if the node has a certain flag set.
atkNode::helpUrl()
Get the help url for this node.
atkNode::hideForm()
Function outputs a form with all values hidden.
atkNode::init()
This function initialises certain elements of the node.
atkNode::initial_values()
Retrieve the initial values for a new record.
atkNode::injectSections()
Add sections to the edit/view fields array.
atkNode::isPartial()
Is partial request?
atkNode::lockPage()
Generate a box displaying a message that the current record is locked.
atkNode::modifyRecord()
Update a record with variables from a form posting.
atkNode::notify()
Notify all listeners of the occurance of a certain action.
atkNode::postAdd()
Function that is called by the framework, right after a new record has been saved to the database.
atkNode::postDel()
Deprecated function that is called by the framework, right after a record has been deleted.
atkNode::postDelete()
Function that is called by the framework, right after a record has been deleted.
atkNode::postUpdate()
Function that is called by the framework, right after an existing record has been updated in the database.
atkNode::preAdd()
Function that is called by the framework, just before a new record will be saved to the database.
atkNode::preAddToEditArray()
The preAddToEditArray method is called from within the editArray
atkNode::preAddToViewArray()
The preAddToViewArray method is called from within the viewArray
atkNode::preCopy()
Function that is called by the framework, right before a copied record is stored to the database.
atkNode::preDelete()
Function that is called by the framework, right before a record will be deleted. Should this method return false the deleting will halt.
atkNode::preNotify()
Notify all listeners in advance of the occurance of a certain action.
atkNode::preUpdate()
Function that is called by the framework, just before an existing record will be saved to the database.
atkNode::primaryKey()
Returns the primary key sql expression of a record.
atkNode::primaryKeyField()
Retrieve the name of the primary key attribute.
atkNode::primaryKeyTpl()
Returns a primary key template.
atkNode::recordActions()
Function that is called for each record in a recordlist, to determine what actions may be performed on the record.
atkNode::redirect()
Redirect the browser to a different location.
atkNode::registerRecordActionsCallback()
Registers a function/method that is called for each record in a recordlist, to determine what actions may be performed on the record.
atkNode::remove()
Remove an attribute.
atkNode::removeDefaultExpandedSections()
Remove sections that must be expanded by default.
atkNode::removeFilter()
Search and remove a recordset filter.
atkNode::removeFlag()
Removes a flag from the node.
atkNode::renderActionPage()
Render a generic action.
atkNode::resolveColumn()
Resolve column for sections.
atkNode::resolveNodeTypeAndAction()
Resolves a possible node / action alias for the given node / action.
atkNode::resolveSection()
Resolve section. If a section is only prefixed by a dot this means we need to add the default tab before the dot.
atkNode::resolveSections()
Resolve sections.
atkNode::resolveSectionsTabsOrder()
Resolve sections, tabs and the order based on the given argument to the attribute add method.
atkNode::rowClass()
Row CSS class.
atkNode::searchDb()
Search all records for the occurance of a certain expression.
atkNode::securityKey()
Retrieve the security key of an action.
atkNode::select()
Retrieve records from the database using a handy helper class.
atkNode::setAttribSizes()
This function reads meta information from the database and initialises its attributes with the metadata.
atkNode::setAttributeOrder()
Sets an attributes order
atkNode::setDb()
Sets the database connection.
atkNode::setDefaultColumn()
Set default column name.
atkNode::setDefaultTab()
Set default tab being displayed in view/add/edit mode.
atkNode::setDescriptorHandler()
Set descriptor handler.
atkNode::setDescriptorTemplate()
Sets the descriptor template for this node.
atkNode::setEditableListAttributes()
Sets the editable list attributes. If you supply this method with one or more string arguments, all arguments are collected in an array. Else the first parameter will be used.
atkNode::setEditFieldPrefix()
Set the edit fieldprefix to use in atk
atkNode::setExtendedSearchAction()
Set extended search action.
atkNode::setFeedback()
Use this function to enable feedback for one or more actions.
atkNode::setFlags()
Set node flags.
atkNode::setIndex()
Create an alphabetical index.
atkNode::setLockMode()
Sets the lock mode.
atkNode::setMRASelectionMode()
Sets the multi-record-action selection mode. Can either be MRA_MULTI_SELECT (default), MRA_SINGLE_SELECT or MRA_NO_SELECT.
atkNode::setNumbering()
Sets numbering of the attributes to begin with the number that was passed to it, or defaults to 1.
atkNode::setOrder()
Set default sort order for the node.
atkNode::setPriorityActions()
Sets the possible multi-record-priority actions.
atkNode::setPriorityRange()
Sets the priority range, for multi-record-priority actions.
atkNode::setRowClassCallback()
Add callback function for add css class to row.
atkNode::setSearchAction()
Sets the search action.
atkNode::setSecurityAlias()
Set the security alias of a node.
atkNode::setTabIndex()
Set tab index
atkNode::setTable()
Set the table that the node should use.
atkNode::statusbar()
Display a statusbar with a stacktrace and a help button.
atkNode::tabulate()
Place a set of tabs around content.
atkNode::text()
Translate using this node's module and type.
atkNode::trackChangesIfNeeded()
Called by updateDb to load the original record inside the record if the NF_TRACK_CHANGES flag is set.
atkNode::updateDb()
Update a record in the database.
atkNode::updateRecord()
Parse a set of url vars into a valid record structure.
atkNode::validate()
Validates a record.
atkNode::validateFilter()
Validates if a filter is valid for this node.
atkNode::viewArray()
Function outputs an array with view fields. For each field the array contains the name, view HTML code etc.
atkNode::_addListeners()
Add the listeners for the current node
atkNode::_initSelector()
Set some default for the selector.
atkNode::_storeAttributes()
Call the store() method on a list of attributes.
atkNode::__call()
Catch missing methods.
atkNode::__toString()
String representation for this node (PHP5 only).

[ Top ]

Property Summary

array   $m_data   Data.

[ Top ]

Method Summary

atkDataNode   __construct()   Constructor.
boolean   addDb()   Add is not supported.
int   countData()   Count "rows".
int   countDb()   Returns how many records will be returned for the given selector.
boolean   deleteDb()   Delete is not supported.
data   filterColumns()   Filter invalid columns.
array   filterData()   Filter data using the given selector.
array   findData()   Find data using the given parameters.
array   getCriteria()   Translate the given selector to a criteria array which key/values can be used to filter data.
array   getData()   Returns the internal data.
string   getSelector()   Returns the full selector including added filters.
boolean   isValidRecord()   Check if record is valid using the given selector criteria and search params.
array   limitData()   Limit data using the given limit and offset.
array   selectDb()   Select records using the given criteria.
void   setAttribSizes()   Don't fetch meta data.
void   setData()   Sets the data that this node should use.
array   sortData()   Sort data by the given order string.
array|boolean   translateOrder()   Parse the order to something we can use. If the order is invalid false is returned.
boolean   updateDb()   Update is not supported.

[ Top ]

Properties

array   $m_data = array() [line 35]

Data.

API Tags:
Access:  private


[ Top ]

Methods

Constructor __construct  [line 45]

  atkDataNode __construct( [string $type = ''], [int $flags = 0]  )

Constructor.

Parameters:
string   $type:  node type (by default the class name)
int   $flags:  node flags

API Tags:
Access:  public


[ Top ]
addDb  [line 405]

  boolean addDb( )

Add is not supported.


API Tags:
Return:  false
Access:  public


Redefinition of:
atkNode::addDb()
Save a new record to the database.

[ Top ]
countData  [line 130]

  int countData( [array $params = array()]  )

Count "rows".

Supported parameters are: selector, limit, offset and order.

Parameters:
array   $params:  parameters

API Tags:
Return:  number of "records"
Access:  protected


[ Top ]
countDb  [line 111]

  int countDb( [string $selector = null]  )

Returns how many records will be returned for the given selector.

Parameters:
string   $selector:  selector string

API Tags:
Return:  record count
Access:  public


[ Top ]
deleteDb  [line 425]

  boolean deleteDb( )

Delete is not supported.


API Tags:
Return:  false
Access:  public


Redefinition of:
atkNode::deleteDb()
Delete record(s) from the database.

[ Top ]
filterColumns  [line 169]

  data filterColumns( array $data  )

Filter invalid columns.

Parameters:
array   $data:  data

API Tags:
Access:  protected


[ Top ]
filterData  [line 270]

  array filterData( array $data, array $criteria, array $search  )

Filter data using the given selector.

Parameters:
array   $data:  data list
array   $criteria:  selector criteria list
array   $search:  search fields / values

API Tags:
Return:  filtered data
Access:  protected


[ Top ]
findData  [line 143]

  array findData( [array $params = array()]  )

Find data using the given parameters.

Supported parameters are: selector, limit, offset and order.

Parameters:
array   $params:  parameters

API Tags:
Return:  found data
Access:  protected


[ Top ]
getCriteria  [line 221]

  array getCriteria( string $selector  )

Translate the given selector to a criteria array which key/values can be used to filter data.

Parameters:
string   $selector:  selector string

API Tags:
Return:  criteria
Access:  protected


[ Top ]
getData  [line 68]

  array getData( [array $criteria = null]  )

Returns the internal data.

Parameters:
array   $criteria:  criteria (can be ignored in which case filterData will filter the data)

API Tags:
Return:  data list
Access:  protected


[ Top ]
getSelector  [line 196]

  string getSelector( string $selector  )

Returns the full selector including added filters.

Parameters:
string   $selector:  selector

API Tags:
Return:  full selector string
Access:  protected


[ Top ]
isValidRecord  [line 294]

  boolean isValidRecord( array $record, array $criteria, array $search  )

Check if record is valid using the given selector criteria and search params.

Parameters:
array   $record:  record
array   $criteria:  selector criteria list
array   $search:  search fields / values

API Tags:
Return:  is valid?
Access:  protected


[ Top ]
limitData  [line 386]

  array limitData( array $data, [int $limit = -1], [int $offset = 0]  )

Limit data using the given limit and offset.

Parameters:
array   $data:  data list
int   $limit:  limit
int   $offset:  offset

API Tags:
Return:  limitted data
Access:  protected


[ Top ]
selectDb  [line 82]

  array selectDb( [string $selector = null], [string $order = null], [array $limit = null]  )

Select records using the given criteria.

Parameters:
string   $selector:  selector string
string   $order:  order string
array   $limit:  limit array

API Tags:
Return:  selected records
Access:  public


[ Top ]
setAttribSizes  [line 433]

  void setAttribSizes( )

Don't fetch meta data.


API Tags:
Access:  public


Redefinition of:
atkNode::setAttribSizes()
This function reads meta information from the database and initialises its attributes with the metadata.

[ Top ]
setData  [line 56]

  void setData( array $data  )

Sets the data that this node should use.

Parameters:
array   $data:  data list

API Tags:
Access:  public


[ Top ]
sortData  [line 351]

  array sortData( array $data, string $order  )

Sort data by the given order string.

Parameters:
array   $data:  data list
string   $order:  order string

API Tags:
Return:  data list
Access:  protected


[ Top ]
translateOrder  [line 316]

  array|boolean translateOrder( string $order  )

Parse the order to something we can use. If the order is invalid false is returned.

Parameters:
string   $order:  order string

API Tags:
Return:  array 1st element column, 2nd element ascending? or false
Access:  protected


[ Top ]
updateDb  [line 415]

  boolean updateDb( )

Update is not supported.


API Tags:
Return:  false
Access:  public


Redefinition of:
atkNode::updateDb()
Update a record in the database.

[ Top ]
Home | About | Contact