Docs For Class atkClusterDb
Atk API home Class tree Element index

Todo list

Packages: » atk Classes: skel- » atkAppSuite utils » atkAbstractFrame » atkActionListener » atkClassFinder » atkClassLoader » atkDataHolder » atkDebugger » atkDirectoryTraverser » atkEventLog » atkFileUtils » atkFrame » atkFrameSet » atkIpUtils » atkJSON » atkMail » atkMailer » atkMessageQueue » atkmlsplitter » atkNavigator » atkRootFrameset » atkSelector » atkString » atkStringParser » atkTableRenderer » atkTableRendererGrouped » atkTextMarker » atkTmpFile » atkTriggerListener » atkYAML » atkZip » browserInfo » listenerTest » simplevisitor » testNode » test_atkactionlistener » test_atkclassloader » test_atkcolumnconfig » test_atkDirectoryTraverser » test_atklistattribute » test_atkStringParser » test_atkTextMarker general » atkConfig » atkController » atkDataNode » atkErrorHandlerBase » atkFileEditor » atkLanguage » atkMailErrorHandler » atkMetaNode » atkMockNode » atkNode » atkNodeValidator » atkSessionStore » atkTreeNode » atkWizardBase » atkZendPlatformErrorHandler » clsTbsDataSource » clsTbsLocator » clsTinyButStrong » clsTinyButStrongOOo » FCKeditor » getSupportedLanguagesCollector » layout » node » sql_whereclause_blacklist_checker » test » tree » triggerNode fixture » atkAbstractFixtureLoader » atkFixtureManager » atkPHPFixtureLoader » atkYAMLFixtureLoader testcases » atkAbstractSearchHandler » DateAttributeWrapper » dummyTagAttribute » Stub_atkNew » test_atkattributeedithandler » test_atkBoolAttribute » test_atkCalculatorAttribute » test_atkcolorpickerattribute » test_atkDataGrid » test_atkdatanode » test_atkDateAttribute » test_atkFileAttribute » test_atkfrontcontroller » test_atkiputils » test_atkManyToOneRelation » test_atknode » test_atkRelation » test_atktagattribute » test_atkwizard » test_tabs » uriPartsFrontControllerMock 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 » test_atkimporthandler 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 » atkHtmlAttribute » atkIpAttribute » atkListAttribute » atkLiveTextPreview » atkMlAttribute » 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 » test_atkattribute » test_atkmultiselectattribute » test_atktextattribute 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_server » auth_sspi » test_atkMockSecurityManager » test_atkUrlVault cache » atkCache » atkCache_apc » atkCache_eaccelerator » atkCache_file » atkCache_memcache » atkCache_var » atkCache_xcache » atkCache_zp_disk » atkCache_zp_output » atkCache_zp_shm » test_atkcache_apc » test_atkcache_eaccelerator » test_atkcache_file » test_atkcache_memcache » test_atkcache_var » test_atkcache_xcache » test_atkcache_zp_disk » test_atkcache_zp_output » test_atkcache_zp_shm test » ArrayHtmlReporter » ArrayTextReporter » atkCacheTestCase » atkPHPUnitTestCaseCollector » atkPluginTestCase » atkSimpleTestTestCaseCollector » atkTestCase » atkTestCaseCollector » atkTestReporter » atkTestSuite » atkTestTraverser » test_atkMockNode » test_atktestcase » test_atktools » Test_DbConfigs » test_sql_whereclause_blacklist_checker » test_tabsecurity » test_triggers db » atkClusterDb » atkClusterDDL » atkClusterQuery » atkDb » atkDDL » atkMockDb » atkMockDDL » atkMockQuery » atkMsSqlDb » atkMsSqlDDL » atkMssqlQuery » atkMysqlDb » atkMysqlDDL » atkMysqliDb » atkMysqliDDL » atkMysqliQuery » atkMysqlQuery » atkOci8Db » atkOci8DDL » atkOci8Query » atkOci9Db » atkOci9DDL » atkOci9Query » atkOci805Db » atkOci805Query » atkPgsqlDb » atkPgsqlDDL » atkPgsqlQuery » atkQuery » test_atkdb recordlist » atkColumnConfig » atkCSVRecordList » atkCustomRecordList » atkExcelCSVRecordList » atkHTMLRecordList » atkPrintableRecordList » atkRecordList » atkRecordlistCache » atkTotalizer 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 » atkOneToManyRelationSessionGridHandler » atkOneToOneRelation » atkRelation » atkSecureRelation » atkShuttleControl » atkShuttleFilter » atkShuttleRelation front » atkFrontController » atkFrontControllerBridge keyboard » atkKeyboard meta-relations » atkMetaExtendableShuttleRelation » atkMetaManyBoolRelation » atkMetaManyToManyListRelation » atkMetaManyToManySelectRelation » atkMetaManyToOneRelation » atkMetaOneToManyRelation » atkMetaOneToOneRelation » atkMetaShuttleRelation modules » atkModule » mod_test interface » atkServer » atkSoapServer session » atkSessionManager » atkState wizard » atkWizard » AtkWizardActionLoader » atkWizardPanel attribute » test_atkcurrencyattribute » test_atknumberattribute
Interfaces: datagrid » atkDGListener interface » atkServerInterface
Files: general » adodb-time.inc.php » atknodetools.inc » atktools.inc » atktreetools.inc » basexml.php » class.atkconfig.inc » class.atkcontroller.inc » class.atkdatanode.inc » class.atkerrorhandlerbase.inc » class.atkfileeditor.inc » class.atklanguage.inc » class.atkmailerrorhandler.inc » class.atkmetanode.inc » class.atkmocknode.inc » class.atknode.inc » class.atknodevalidator.inc » class.atksessionstore.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 » class.test_triggers.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 » upload.php » util.php » version.inc attribute » class.test_atkcurrencyattribute.inc » class.test_atknumberattribute.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.atkhtmlattribute.inc » class.atkipattribute.inc » class.atklistattribute.inc » class.atklivetextpreview.inc » class.atkmlattribute.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 » class.test_atkattribute.inc » class.test_atkmultiselectattribute.inc » class.test_atktextattribute.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 » class.test_atkcache_apc.inc » class.test_atkcache_eaccelerator.inc » class.test_atkcache_file.inc » class.test_atkcache_memcache.inc » class.test_atkcache_var.inc » class.test_atkcache_xcache.inc » class.test_atkcache_zp_disk.inc » class.test_atkcache_zp_output.inc » class.test_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.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 » class.test_atkdb.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 » class.test_atkimporthandler.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 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.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_server.inc » class.auth_sspi.inc » class.test_atkmocksecuritymanager.inc » class.test_atkurlvault.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 » test.php » top.php » welcome.php skel- » atkappsuite.php subpackage » class.atkattributetestcase.inc test » class.atkcachetestcase.inc » class.atkphpunittestcasecollector.inc » class.atkplugintestcase.inc » class.atksimpletesttestcasecollector.inc » class.atktestcase.inc » class.atktestcasecollector.inc » class.atktestreporter.inc » class.atktestsuite.inc » class.atktesttraverser.inc » class.test_atkmocknode.inc » class.test_atktestcase.inc » class.test_atktools.inc » class.test_dbconfigs.inc » class.test_tabsecurity.inc testcases » class.atkabstractsearchhandler.inc » class.stub_atknew.inc » class.test_atkattributeedithandler.inc » class.test_atkboolattribute.inc » class.test_atkcalculatorattribute.inc » class.test_atkcolorpickerattribute.inc » class.test_atkdatagrid.inc » class.test_atkdatanode.inc » class.test_atkdateattribute.inc » class.test_atkfileattribute.inc » class.test_atkfrontcontroller.inc » class.test_atkiputils.inc » class.test_atkmanytoonerelation.inc » class.test_atknode.inc » class.test_atkrelation.inc » class.test_atktagattribute.inc » class.test_atkwizard.inc » class.test_tabs.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.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.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.atkmlsplitter.inc » class.atknavigator.inc » class.atkselector.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 » class.test_atkactionlistener.inc » class.test_atkclassloader.inc » class.test_atkcolumnconfig.inc » class.test_atkdirectorytraverser.inc » class.test_atklistattribute.inc » class.test_atkstringparser.inc » class.test_atktextmarker.inc » help.inc wizard » class.atkwizard.inc » class.atkwizardactionloader.inc » class.atkwizardpanel.inc
Home  ->  Documentation home  ->  Atk index  ->  Docs For Class atkClusterDb [ package: atk ]

Class: atkClusterDb

Source Location: /db/class.atkclusterdb.inc

Class atkClusterDb

Inherited from parent

Inherited Properties Inherited Methods

Inherited From atkDb

atkDb::$m_affected_rows
atkDb::$m_auto_free
atkDb::$m_charset
atkDb::$m_collate
atkDb::$m_connection
atkDb::$m_database
atkDb::$m_errno
atkDb::$m_error
atkDb::$m_errorLookup
atkDb::$m_haltonerror
atkDb::$m_host
atkDb::$m_identifierQuoting
atkDb::$m_link_id
atkDb::$m_mode
atkDb::$m_password
atkDb::$m_port
atkDb::$m_query_id
atkDb::$m_record
atkDb::$m_row
atkDb::$m_tableMeta
atkDb::$m_type
atkDb::$m_user
atkDb::$m_user_error
atkDb::$m_vendor

Inherited From atkDb

atkDb::affected_rows()
Retrieve the number of rows affected by the last query.
atkDb::clearMapping()
Clear the current database mapping.
atkDb::cloneAll()
Clones the database structure of the given database to this database. This also means the complete database is emptied beforehand.
atkDb::commit()
Commit the current transaction.
atkDb::connect()
Connect to the database.
atkDb::createDDL()
Create an atkDDL object for constructing ddl queries.
atkDb::createQuery()
Create an atkQuery object for constructing queries.
atkDb::deleteAll()
Empty all database tables.
atkDb::disconnect()
Disconnect from database
atkDb::doConnect()
Connect to the database
atkDb::dropAll()
Drop all database tables.
atkDb::errorLookup()
Looks up the error
atkDb::escapeSQL()
escapes quotes for use in SQL: ' -> '' (and sometimes % -> %%)
atkDb::func_concat()
Get CONCAT() equivalent for the current database.
atkDb::func_concat_ws()
Get CONCAT_WS() equivalent for the current database.
atkDb::func_datetimetochar()
Get TO_CHAR() equivalent for the current database.
atkDb::func_datetochar()
Get TO_CHAR() equivalent for the current database.
atkDb::func_now()
get NOW() or SYSDATE() equivalent for the current database
atkDb::func_substring()
get SUBSTRING() equivalent for the current database.
atkDb::getAtkDbErrno()
Get generic atk errorccode
atkDb::getDbErrno()
Get vendor-dependent database error number.
atkDb::getDbError()
Get vendor-dependent database error message.
atkDb::getDbStatus()
Check if current db is present and acceptable for current user
atkDb::getErrorMsg()
Get localized error message (for display in the application)
atkDb::getErrorType()
Determine whether an error that occurred is a recoverable (user) error or a system error.
atkDb::getInstance()
Get database instance.
atkDb::getMapping()
Returns the current database mapping.
atkDb::getQueryMode()
Returns the query mode
atkDb::getrows()
Get all rows that are the result of a certain specified query
atkDb::getSearchModes()
This function indicates what searchmodes the database supports.
atkDb::getTranslatedDatabaseName()
Returns the real database name. If a mapping
atkDb::getType()
Get the database driver type.
atkDb::getValue()
Get a single value (first row, first column) from a certain specified query
atkDb::getValues()
Get an array with all the values in the (first) column.
atkDb::halt()
If haltonerror is set, this will raise an atkerror. If not, it will place the error in atkdebug and continue.
atkDb::hasError()
Has error?
atkDb::hasMode()
Check if the current instance has the given mode
atkDb::init()
(Re)Initialise a database driver with a connection
atkDb::link_id()
Get the current connection.
atkDb::lock()
Lock a table in the database.
atkDb::maxIdentifierLength()
Returns the maximum length an identifier (tablename, columnname, etc) may have
atkDb::metadata()
Return the meta data of a certain table HIE GEBLEVEN
atkDb::nextid()
Get the next sequence number of a certain sequence.
atkDb::next_record()
Retrieve the next record in the resultset.
atkDb::query()
Parse and execute a query.
atkDb::query_id()
Get the current query statement resource id.
atkDb::quoteIdentifier()
Quote Indentifier
atkDb::rollback()
Rollback the current transaction.
atkDb::savepoint()
Set savepoint with the given name.
atkDb::setHaltOnError()
Halt on error or not?
atkDb::setInstance()
Replace the current instance of a named connection at runtime with a different connection. This is useful for example for replacing a named database instance with a mock object for testing purposes.
atkDb::setSequenceValue()
Set database sequence value.
atkDb::setUserError()
Define custom user error codes.
atkDb::tableExists()
This function checks the database for a table with the provide name
atkDb::tableMeta()
Fetches table meta data from database
atkDb::table_names()
Return the available table names
atkDb::toggleForeignKeys()
Enable/disable all foreign key constraints.
atkDb::unlock()
Relieve all locks.
atkDb::useMapping()
Use the given mapping to translate database requests from one database to another database. This can be used for test purposes.
atkDb::vendorDateFormat()
Convert a php date() format specifier to a vendor specific format specifier.
atkDb::_getOrUseMapping()
Get or set the database mapping
atkDb::_getTableMetaFromCache()
If cached it'll return the table metadata from cache.
atkDb::_getTableMetaFromDb()
Returns the tablemetadata directly from db
atkDb::_translateError()
Translate database-vendor dependent error messages into an ATK generic error code.

[ Top ]

Property Summary

atkDb   $m_current_clusternode   Cluster node (database) that we are currently proxying for
mixed   $m_name  
mixed   $m_nodes_config  
array   $m_readonly_nodes_config   Array of read-only slaves
array   $m_writeonly_nodes_config   Array of write-only slaves

[ Top ]

Method Summary

static mixed   __callStatic()   Magic callstatic function
void   affected_rows()  
void   clearMapping()  
void   cloneAll()  
void   commit()  
bool   connect()   Connects to a cluster node and sets the node as "current node"
atkDDL   createDDL()   Creates a new new atkDDL based on current cluster nodes type
object   createQuery()   Creates a new a new query object based on the current nodes type
void   deleteAll()  
void   disconnect()  
void   doConnect()  
void   dropAll()  
void   errorLookup()  
void   escapeSQL()  
void   func_concat()  
void   func_concat_ws()  
void   func_datetimetochar()  
void   func_datetochar()  
void   func_now()  
void   func_substring()  
void   getAtkDbErrno()  
void   getDbErrno()  
void   getDbError()  
void   getDbStatus()  
void   getErrorMsg()  
void   getErrorType()  
void   &getInstance()  
void   getMapping()  
void   getQueryMode()  
void   getrows()  
void   getSearchModes()  
void   getTranslatedDatabaseName()  
void   getType()  
void   getValue()  
void   getValues()  
void   halt()  
void   hasError()  
array   hasMode()   Returns nodes that have a specific mode set
void   init()   Initialize the atkClusterDb
void   link_id()  
void   lock()  
void   maxIdentifierLength()  
void   metadata()  
int   nextid()   Gets the next available id
void   next_record()  
bool   query()   Query method, first detects the query mode (read/write) and connects to the proper database before executing the query on it.
void   query_id()  
void   quoteIdentifier()  
void   rollback()  
void   savepoint()  
void   setConfig()   Sets config and mode for all configured nodes
void   setCurrentClusterNode()   Sets a random cluster node as the current node based on the mode provided
void   setHaltOnError()  
void   &setInstance()  
void   setNodeConfig()   Sets the config and mode for a named node
void   setRandomNodeFromNodeConfigs()   Selects a random node from the node configuration based on the mode.
void   setSequenceValue()   Because we extend atkDb __call won't be called for the atkDb public methods as they
void   setUserError()  
void   tableExists()  
void   tableMeta()  
void   table_names()  
void   toggleForeignKeys()  
void   unlock()  
void   useMapping()  
void   vendorDateFormat()  
void   _getOrUseMapping()  
void   _translateError()  
mixed   __call()   Magic call function
void   __get()   Gets a value from current nodes properties based on key
bool   __isset()   Checks if current node has the property set
void   __set()   Allows setting key/value pairs for the current node
void   __unset()   Magic unset function

[ Top ]

Properties

atkDb   $m_current_clusternode [line 50]

Cluster node (database) that we are currently proxying for

API Tags:
Access:  protected


[ Top ]
mixed   $m_name [line 28]
API Tags:
Access:  protected


[ Top ]
mixed   $m_nodes_config = array() [line 43]
API Tags:
Access:  protected


[ Top ]
array   $m_readonly_nodes_config = array() [line 35]

Array of read-only slaves

API Tags:
Access:  protected


[ Top ]
array   $m_writeonly_nodes_config = array() [line 42]

Array of write-only slaves

API Tags:
Access:  protected


[ Top ]

Methods

static method __callStatic  [line 311]

  static mixed __callStatic( string $name, array $arguments  )

Magic callstatic function

Parameters:
string   $name: 
array   $arguments: 

API Tags:
Access:  public


[ Top ]
affected_rows  [line 355]

  void affected_rows( )


API Tags:
Access:  public


Redefinition of:
atkDb::affected_rows()
Retrieve the number of rows affected by the last query.

[ Top ]
clearMapping  [line 330]

  void clearMapping( )


API Tags:
Access:  public


Redefinition of:
atkDb::clearMapping()
Clear the current database mapping.

[ Top ]
cloneAll  [line 376]

  void cloneAll( )


API Tags:
Access:  public


Redefinition of:
atkDb::cloneAll()
Clones the database structure of the given database to this database. This also means the complete database is emptied beforehand.

[ Top ]
commit  [line 349]

  void commit( )


API Tags:
Access:  public


Redefinition of:
atkDb::commit()
Commit the current transaction.

[ Top ]
connect  [line 79]

  bool connect( [string $mode = 'rw']  )

Connects to a cluster node and sets the node as "current node"

Parameters:
string   $mode:  Mode can be r, w or rw

API Tags:
Return:  Whether the connect succeded or not
Access:  public


Redefinition of:
atkDb::connect()
Connect to the database.

[ Top ]
createDDL  [line 147]

  atkDDL createDDL( )

Creates a new new atkDDL based on current cluster nodes type


API Tags:
Access:  public


Redefinition of:
atkDb::createDDL()
Create an atkDDL object for constructing ddl queries.

[ Top ]
createQuery  [line 134]

  object createQuery( )

Creates a new a new query object based on the current nodes type


API Tags:
Access:  public


Redefinition of:
atkDb::createQuery()
Create an atkQuery object for constructing queries.

[ Top ]
deleteAll  [line 374]

  void deleteAll( )


API Tags:
Access:  public


Redefinition of:
atkDb::deleteAll()
Empty all database tables.

[ Top ]
disconnect  [line 348]

  void disconnect( )


API Tags:
Access:  public


Redefinition of:
atkDb::disconnect()
Disconnect from database

[ Top ]
doConnect  [line 346]

  void doConnect( $host, $user, $password, $database, $port, $charset  )

Parameters:
   $host: 
   $user: 
   $password: 
   $database: 
   $port: 
   $charset: 

API Tags:
Access:  public


Redefinition of:
atkDb::doConnect()
Connect to the database

[ Top ]
dropAll  [line 375]

  void dropAll( )


API Tags:
Access:  public


Redefinition of:
atkDb::dropAll()
Drop all database tables.

[ Top ]
errorLookup  [line 342]

  void errorLookup( )


API Tags:
Access:  public


Redefinition of:
atkDb::errorLookup()
Looks up the error

[ Top ]
escapeSQL  [line 372]

  void escapeSQL( )


API Tags:
Access:  public


Redefinition of:
atkDb::escapeSQL()
escapes quotes for use in SQL: ' -> '' (and sometimes % -> %%)

[ Top ]
func_concat  [line 367]

  void func_concat( )


API Tags:
Access:  public


Redefinition of:
atkDb::func_concat()
Get CONCAT() equivalent for the current database.

[ Top ]
func_concat_ws  [line 368]

  void func_concat_ws( )


API Tags:
Access:  public


Redefinition of:
atkDb::func_concat_ws()
Get CONCAT_WS() equivalent for the current database.

[ Top ]
func_datetimetochar  [line 370]

  void func_datetimetochar( )


API Tags:
Access:  public


Redefinition of:
atkDb::func_datetimetochar()
Get TO_CHAR() equivalent for the current database.

[ Top ]
func_datetochar  [line 366]

  void func_datetochar( )


API Tags:
Access:  public


Redefinition of:
atkDb::func_datetochar()
Get TO_CHAR() equivalent for the current database.

[ Top ]
func_now  [line 364]

  void func_now( )


API Tags:
Access:  public


Redefinition of:
atkDb::func_now()
get NOW() or SYSDATE() equivalent for the current database

[ Top ]
func_substring  [line 365]

  void func_substring( )


API Tags:
Access:  public


Redefinition of:
atkDb::func_substring()
get SUBSTRING() equivalent for the current database.

[ Top ]
getAtkDbErrno  [line 337]

  void getAtkDbErrno( )


API Tags:
Access:  public


Redefinition of:
atkDb::getAtkDbErrno()
Get generic atk errorccode

[ Top ]
getDbErrno  [line 338]

  void getDbErrno( )


API Tags:
Access:  public


Redefinition of:
atkDb::getDbErrno()
Get vendor-dependent database error number.

[ Top ]
getDbError  [line 339]

  void getDbError( )


API Tags:
Access:  public


Redefinition of:
atkDb::getDbError()
Get vendor-dependent database error message.

[ Top ]
getDbStatus  [line 380]

  void getDbStatus( )


API Tags:
Access:  public


Redefinition of:
atkDb::getDbStatus()
Check if current db is present and acceptable for current user

[ Top ]
getErrorMsg  [line 343]

  void getErrorMsg( )


API Tags:
Access:  public


Redefinition of:
atkDb::getErrorMsg()
Get localized error message (for display in the application)

[ Top ]
getErrorType  [line 336]

  void getErrorType( )


API Tags:
Access:  public


Redefinition of:
atkDb::getErrorType()
Determine whether an error that occurred is a recoverable (user) error or a system error.

[ Top ]
getInstance  [line 377]

  void &getInstance( )


API Tags:
Access:  public


Redefinition of:
atkDb::getInstance()
Get database instance.

[ Top ]
getMapping  [line 329]

  void getMapping( )


API Tags:
Access:  public


Redefinition of:
atkDb::getMapping()
Returns the current database mapping.

[ Top ]
getQueryMode  [line 341]

  void getQueryMode( )


API Tags:
Access:  public


Redefinition of:
atkDb::getQueryMode()
Returns the query mode

[ Top ]
getrows  [line 359]

  void getrows( )


API Tags:
Access:  public


Redefinition of:
atkDb::getrows()
Get all rows that are the result of a certain specified query

[ Top ]
getSearchModes  [line 362]

  void getSearchModes( )


API Tags:
Access:  public


Redefinition of:
atkDb::getSearchModes()
This function indicates what searchmodes the database supports.

[ Top ]
getTranslatedDatabaseName  [line 331]

  void getTranslatedDatabaseName( )


API Tags:
Access:  public


Redefinition of:
atkDb::getTranslatedDatabaseName()
Returns the real database name. If a mapping

[ Top ]
getType  [line 333]

  void getType( )


API Tags:
Access:  public


Redefinition of:
atkDb::getType()
Get the database driver type.

[ Top ]
getValue  [line 360]

  void getValue( )


API Tags:
Access:  public


Redefinition of:
atkDb::getValue()
Get a single value (first row, first column) from a certain specified query

[ Top ]
getValues  [line 361]

  void getValues( )


API Tags:
Access:  public


Redefinition of:
atkDb::getValues()
Get an array with all the values in the (first) column.

[ Top ]
halt  [line 344]

  void halt( )


API Tags:
Access:  public


Redefinition of:
atkDb::halt()
If haltonerror is set, this will raise an atkerror. If not, it will place the error in atkdebug and continue.

[ Top ]
hasError  [line 335]

  void hasError( )


API Tags:
Access:  public


Redefinition of:
atkDb::hasError()
Has error?

[ Top ]
hasMode  [line 93]

  array hasMode( string $mode  )

Returns nodes that have a specific mode set

Parameters:
string   $mode:  Mode can be r, w or rw

API Tags:
Access:  public


Redefinition of:
atkDb::hasMode()
Check if the current instance has the given mode

[ Top ]
init  [line 63]

  void init( string $connectionname, [string $mode = 'rw']  )

Initialize the atkClusterDb

Parameters:
string   $connectionname:  The name of the database connection
string   $mode:  Mode can be r, w or rw

API Tags:
Access:  public


Redefinition of:
atkDb::init()
(Re)Initialise a database driver with a connection

[ Top ]
link_id  [line 334]

  void link_id( )


API Tags:
Access:  public


Redefinition of:
atkDb::link_id()
Get the current connection.

[ Top ]
lock  [line 353]

  void lock( )


API Tags:
Access:  public


Redefinition of:
atkDb::lock()
Lock a table in the database.

[ Top ]
maxIdentifierLength  [line 371]

  void maxIdentifierLength( )


API Tags:
Access:  public


Redefinition of:
atkDb::maxIdentifierLength()
Returns the maximum length an identifier (tablename, columnname, etc) may have

[ Top ]
metadata  [line 356]

  void metadata( )


API Tags:
Access:  public


Redefinition of:
atkDb::metadata()
Return the meta data of a certain table HIE GEBLEVEN

[ Top ]
nextid  [line 161]

  int nextid( )

Gets the next available id


API Tags:
Access:  public


Redefinition of:
atkDb::nextid()
Get the next sequence number of a certain sequence.

[ Top ]
next_record  [line 352]

  void next_record( )


API Tags:
Access:  public


Redefinition of:
atkDb::next_record()
Retrieve the next record in the resultset.

[ Top ]
query  [line 119]

  bool query( )

Query method, first detects the query mode (read/write) and connects to the proper database before executing the query on it.


API Tags:
Return:  Wether or not the query was executed successfully
Access:  public


Redefinition of:
atkDb::query()
Parse and execute a query.

[ Top ]
query_id  [line 345]

  void query_id( )


API Tags:
Access:  public


Redefinition of:
atkDb::query_id()
Get the current query statement resource id.

[ Top ]
quoteIdentifier  [line 381]

  void quoteIdentifier( )


API Tags:
Access:  public


Redefinition of:
atkDb::quoteIdentifier()
Quote Indentifier

[ Top ]
rollback  [line 351]

  void rollback( )


API Tags:
Access:  public


Redefinition of:
atkDb::rollback()
Rollback the current transaction.

[ Top ]
savepoint  [line 350]

  void savepoint( )


API Tags:
Access:  public


Redefinition of:
atkDb::savepoint()
Set savepoint with the given name.

[ Top ]
setConfig  [line 176]

  void setConfig( )

Sets config and mode for all configured nodes


API Tags:
Access:  protected


[ Top ]
setCurrentClusterNode  [line 215]

  void setCurrentClusterNode( string $mode  )

Sets a random cluster node as the current node based on the mode provided

Parameters:
string   $mode: 

API Tags:
Access:  protected


[ Top ]
setHaltOnError  [line 379]

  void setHaltOnError( )


API Tags:
Access:  public


Redefinition of:
atkDb::setHaltOnError()
Halt on error or not?

[ Top ]
setInstance  [line 378]

  void &setInstance( )


API Tags:
Access:  public


Redefinition of:
atkDb::setInstance()
Replace the current instance of a named connection at runtime with a different connection. This is useful for example for replacing a named database instance with a mock object for testing purposes.

[ Top ]
setNodeConfig  [line 200]

  void setNodeConfig( string $nodename, array $nodeconfig, string $mode  )

Sets the config and mode for a named node

Parameters:
string   $nodename: 
array   $nodeconfig: 
string   $mode: 

API Tags:
Access:  protected


[ Top ]
setRandomNodeFromNodeConfigs  [line 235]

  void setRandomNodeFromNodeConfigs( array $nodeconfigs, string $mode  )

Selects a random node from the node configuration based on the mode.

Parameters:
array   $nodeconfigs: 
string   $mode: 

API Tags:
Access:  protected


[ Top ]
setSequenceValue  [line 327]

  void setSequenceValue( )

Because we extend atkDb __call won't be called for the atkDb public methods as they

are already implemented. We can't not-extend atkDb because this would break typehinting (people are using atkDb as typehints everywhere). The most decent way to fix this issue would be to make atkDb into an interface and then have atkClusterDb and atkDb implement it (and use 'atkDbInterface' for typehinting instead of atkDb), but this would break backward compatibility (maybe other people use atkDb in their code as well for typehinting) and since atkClusterDb doesn't seem to be used very often anyway for now we just solved this issue using some vogon poetry. Continue reading at your own risk.


API Tags:
Access:  public


Redefinition of:
atkDb::setSequenceValue()
Set database sequence value.

[ Top ]
setUserError  [line 340]

  void setUserError( )


API Tags:
Access:  public


Redefinition of:
atkDb::setUserError()
Define custom user error codes.

[ Top ]
tableExists  [line 358]

  void tableExists( )


API Tags:
Access:  public


Redefinition of:
atkDb::tableExists()
This function checks the database for a table with the provide name

[ Top ]
tableMeta  [line 363]

  void tableMeta( )


API Tags:
Access:  public


Redefinition of:
atkDb::tableMeta()
Fetches table meta data from database

[ Top ]
table_names  [line 357]

  void table_names( )


API Tags:
Access:  public


Redefinition of:
atkDb::table_names()
Return the available table names

[ Top ]
toggleForeignKeys  [line 373]

  void toggleForeignKeys( )


API Tags:
Access:  public


Redefinition of:
atkDb::toggleForeignKeys()
Enable/disable all foreign key constraints.

[ Top ]
unlock  [line 354]

  void unlock( )


API Tags:
Access:  public


Redefinition of:
atkDb::unlock()
Relieve all locks.

[ Top ]
useMapping  [line 328]

  void useMapping( )


API Tags:
Access:  public


Redefinition of:
atkDb::useMapping()
Use the given mapping to translate database requests from one database to another database. This can be used for test purposes.

[ Top ]
vendorDateFormat  [line 369]

  void vendorDateFormat( )


API Tags:
Access:  public


Redefinition of:
atkDb::vendorDateFormat()
Convert a php date() format specifier to a vendor specific format specifier.

[ Top ]
_getOrUseMapping  [line 332]

  void _getOrUseMapping( )


API Tags:
Access:  public


Redefinition of:
atkDb::_getOrUseMapping()
Get or set the database mapping

[ Top ]
_translateError  [line 347]

  void _translateError( )


API Tags:
Access:  public


Redefinition of:
atkDb::_translateError()
Translate database-vendor dependent error messages into an ATK generic error code.

[ Top ]
__call  [line 299]

  mixed __call( string $name, array $arguments  )

Magic call function

Parameters:
string   $name: 
array   $arguments: 

API Tags:
Access:  public


[ Top ]
__get  [line 266]

  void __get( string $name  )

Gets a value from current nodes properties based on key

Parameters:
string   $name: 

API Tags:
Access:  public


[ Top ]
__isset  [line 277]

  bool __isset( string $name  )

Checks if current node has the property set

Parameters:
string   $name: 

API Tags:
Access:  public


[ Top ]
__set  [line 255]

  void __set( string $name, mixed $value  )

Allows setting key/value pairs for the current node

Parameters:
string   $name: 
mixed   $value: 

API Tags:
Access:  public


[ Top ]
__unset  [line 287]

  void __unset( string $name  )

Magic unset function

Parameters:
string   $name: 

API Tags:
Access:  public


[ Top ]
Home | About | Contact