Aggregates logs for a single database for display or storing depending on commit status
public __construct([$inDatabase = null])
Creates a new db report object
public save()
Store all log records generated so far by the update process
public reset()
Resets the set
public getDatabase()
Returns $_Database
public setDatabase($inDatabase)
Set $_Database to $inDatabase
public getStartDate()
Returns $_StartDate
public setStartDate($inStartDate)
Set $_StartDate to $inStartDate
public getEndDate()
Returns $_EndDate
public setEndDate($inEndDate)
Set $_EndDate to $inEndDate
public addLog($inLog)
Add a log item to the set
public removeLog($inLog)
Removes the log item from the set
public getLog($inKey)
Returns the log from position $inKey in the set
public hasError()
Returns true if any update failed
public getCount()
Returns the number of items in the set
Posted by: Scorpio Documentor (Writer), in Db on 19 Nov 2009 @ 20:30
Tags: baseset, countable, db, dbupdatereport, iteratoraggregate, traversable,
This
work is licenced under a
Creative Commons Licence.