Provides access to records in scorpio_system.dbUpdateLog. Used to log all dbUpdate executions and the result of the update.
public __construct([$inDbUpdateID = null])
Returns a new instance of dbUpdateLog
public static factory([$inUpdateType = null], [$inUpdateCommand = null], [$inUpdateResult = null], [$inMessages = null], [$inCreateDate = null], [$inUpdateDate = null])
Creates a new dbUpdateLog containing non-unique properties
public static getInstance($inDbUpdateID)
Get an instance of dbUpdateLog by primary key
public static listOfObjects([$inOffset = null], [$inLimit = 30])
Returns an array of objects of dbUpdateLog
public load()
Loads a record from the database based on the primary key or first unique index
public loadFromArray($inArray)
Loads a record by array
public save()
Saves object to the table
public delete()
Deletes the object from the table
public reset()
Resets object properties to defaults
public toString([$newLine = ' '])
Returns object as a string with each property separated by $newLine
public toXml([$newLine = ' '])
Returns object as XML with each property separated by $newLine
public toArray()
Returns properties of object as an array
public isValid([$message = ''])
Returns true if object is valid
protected checkDbUpdateID([$inMessage = ''])
Checks that $_DbUpdateID has a valid value
protected checkUpdateType([$inMessage = ''])
Checks that $_UpdateType has a valid value
protected checkUpdateCommand([$inMessage = ''])
Checks that $_UpdateCommand has a valid value
protected checkUpdateResult([$inMessage = ''])
Checks that $_UpdateResult has a valid value
protected checkMessages([$inMessage = ''])
Checks that $_Messages has a valid value
protected checkCreateDate([$inMessage = ''])
Checks that $_CreateDate has a valid value
protected checkUpdateDate([$inMessage = ''])
Checks that $_UpdateDate has a valid value
public isModified()
Returns true if object has been modified
public setModified([$status = true])
Set the status of the object if it has been changed
public getPrimaryKey()
Returns the primaryKey index
public getDbUpdateID()
Return value of $_DbUpdateID
public setDbUpdateID($inDbUpdateID)
Set $_DbUpdateID to DbUpdateID
public getUpdateType()
Return value of $_UpdateType
public setUpdateType($inUpdateType)
Set $_UpdateType to UpdateType
public getUpdateCommand()
Return value of $_UpdateCommand
public setUpdateCommand($inUpdateCommand)
Set $_UpdateCommand to UpdateCommand
public getUpdateResult()
Return value of $_UpdateResult
public isError()
Returns true if this log has an error
public setUpdateResult($inUpdateResult)
Set $_UpdateResult to UpdateResult
public getMessages()
Return value of $_Messages
public addMessage($inMessage)
Adds a message to the messages entry
public setMessages($inMessages)
Set $_Messages to Messages
public getCreateDate()
Return value of $_CreateDate
public setCreateDate($inCreateDate)
Set $_CreateDate to CreateDate
public getUpdateDate()
Return value of $_UpdateDate
public setUpdateDate($inUpdateDate)
Set $_UpdateDate to UpdateDate
Posted by: Scorpio Documentor (Writer), in Db on 19 Nov 2009 @ 20:30
Tags: db, dbupdatelog, systemdaointerface, systemdaovalidatorinterface,
This
work is licenced under a
Creative Commons Licence.