-
getActiveChildren
-
Gets all active child documents of the specified document, i.e. those which published and not deleted.
-
getAffectedRows
-
Get the number of affected rows.
-
getAffectedRows
-
-
getAllChildren
-
Gets all child documents of the specified document, including those which are unpublished or deleted.
-
getCachePath
-
Returns the cache relative URL/path with respect to the site root.
-
getChildIds
-
Returns an array of child IDs belonging to the specified parent.
-
getChunk
-
Returns the chunk content for the given chunk name
-
getColumn
-
Returns an array of the values found on column $name
-
getColumnNames
-
Returns an array containing the column names in a resultset.
-
getConfig
-
Returns an entry from the config
-
getCreateDbCategory
-
Select or create category for installation TPL file
-
getDBname
-
Get name of database.
-
getDocGroups
-
Returns an array of document groups that current user is assigned to.
-
getDocument
-
Returns one document/resource
-
getDocumentChildren
-
Returns the children of the selected document/folder.
-
getDocumentChildrenTVarOutput
-
Get the TV outputs of a document's children.
-
getDocumentChildrenTVars
-
Get the TVs of a document's children. Returns an array where each element represents one child doc.
-
getDocumentIdentifier
-
Returns the document identifier of the current request
-
getDocumentMethod
-
Get the method by which the current document/resource was requested
-
getDocumentObject
-
Get all db fields and TVs for a document/resource
-
getDocuments
-
Returns multiple documents/resources
-
getFullTableName
-
Returns the full table name based on db settings
-
getHostname
-
Get name of host.
-
getHTMLGrid
-
-
getInsertId
-
Get the last insert ID
-
getJqueryPluginTag
-
Get jquery plugin <script> tag as HTML.
-
getJqueryTag
-
Get jquery <script> tag as HTML.
-
getKeywords
-
Returns an array with keywords for the current document, or a document with a given docid
-
getLastError
-
-
getLastError
-
Get the last error.
-
getLoginUserID
-
Returns current user id.
-
getLoginUserName
-
Returns current user name
-
getLoginUserType
-
Returns current login user type - web or manager
-
getManagerPath
-
Returns the manager relative URL/path with respect to the site root.
-
getMETATags
-
Returns an array with meta tags for the current document, or a document with a given docid.
-
getMicroTime
-
Returns the current micro time
-
getPageInfo
-
Returns the page information as database row, the type of result is defined with the parameter $rowMode
-
getParent
-
Returns the parent document/resource of the given docid
-
getParentIds
-
Returns an array of all parent record IDs for the id passed.
-
getPlaceholder
-
Returns the placeholder value
-
getRecordCount
-
Get the number of rows in a resultset. Return 0 if resultset invalid.
-
getRegisteredClientScripts
-
Returns all registered JavaScripts
-
getRegisteredClientStartupScripts
-
Returns all registered startup scripts
-
getRow
-
Return an array of column values
-
getSettings
-
Get system settings and user settings
-
getSettings
-
Get MODx settings including, but not limited to, the system_settings table
-
getSnippetId
-
Returns the id of the current snippet.
-
getSnippetName
-
Returns the name of the current snippet.
-
getTableMetaData
-
-
getTableMetaData
-
Returns an array of structure detail for each column of a
-
getTemplateVar
-
Modified by Raymond for TV - Orig Modified by Apodigm - DocVars Returns a single site_content field or TV record from the db.
-
getTemplateVarOutput
-
Returns an associative array containing TV rendered output values.
-
getTemplateVars
-
Returns an array of site_content field fields and/or TV records from the db
-
getUltimateParentId
-
Returns the ultimate parent of a document
-
getUserData
-
Get data from phpSniff
-
getUserDocGroups
-
Returns an array of document groups that current user is assigned to.
-
getUserInfo
-
Returns a user info record for the given manager user
-
getUserSettings
-
Load user settings if user is logged in
-
getUserSettings
-
Get user settings
-
getValue
-
Returns the value from the first column in the set.
-
getVersion
-
-
getVersion
-
Returns a string containing the database server version
-
getVersionData
-
Returns the ClipperCMS version information as version, branch, release date and full application name.
-
getWebUserInfo
-
Returns a record for the web user
-
getXML
-
Returns an XML representation of the dataset $rsq