cchost
[ class tree: cchost ] [ index: cchost ] [ all elements ]

Class: CCActivityLogTemp

Source Location: /ccextras/cc-activity-log.inc

Class Overview

CCTable
   |
   --CCActivityLogTemp

Table for storing various events for analysis by admins


Methods


Inherited Methods

Class: CCTable

CCTable::CCTable()
Constructor
CCTable::AddExtraColumn()
For use by derived class, adds a column to SELECT statement.
CCTable::AddJoin()
For use by derived class, adds a JOIN to SELECT statement.
CCTable::CountRows()
Return the number of rows matching the $where clause
CCTable::Dec()
Decrement a count field
CCTable::DeleteKey()
Delete a record given a row key
CCTable::DeleteWhere()
Delete records based on a $where filter
CCTable::FakeJoin()
A hack: simulate a join
CCTable::GetMostRecentDate()
Returns the date of the most recent record
CCTable::GetRecordFromID()
Return a record given key (aka 'id')
CCTable::GetRecordFromKey()
Return a record given key (aka 'id')
CCTable::GetRecordFromRow()
Convert a database 'row' to a more semantically rich 'record'
CCTable::GetRecords()
Return full records for a given where statement
CCTable::GetRecordsFromKeys()
Returns an array of records given keys (aka 'id')
CCTable::GetRecordsFromRows()
Convert database 'rows' to a more semantically rich 'records'
CCTable::GetTable()
Get an instance of this table.
CCTable::GroupOn()
Generate a GROUP ON for a given column
CCTable::GroupOnKey()
Generate a GROUP ON sql qualifier using the table's key
CCTable::Inc()
Increment a count field
CCTable::Insert()
Inserts a new record into the database
CCTable::InsertBatch()
Inserts a batch of new records into the database
CCTable::Max()
Returns max value for a column
CCTable::NextID()
Return an ID that is guaranteed unique and unused in the table
CCTable::Query()
Query from the virtual table
CCTable::QueryItem()
Return the value of a single item.
CCTable::QueryItemFromKey()
Return an item from the record where key is $key
CCTable::QueryItems()
Return an array of a single item.
CCTable::QueryKey()
Return the key for a record that matches the $where clause
CCTable::QueryKeyRow()
Return the row for the record where key is $key
CCTable::QueryKeyRows()
Return all rows matching specific keys
CCTable::QueryKeys()
Return array of keys for a record that matches the $where clause
CCTable::QueryRow()
Returns a single row that matches a query
CCTable::QueryRows()
Returns an array of rows that matches a query
CCTable::RemoveExtraColumn()
Removes extra columns added by AddExtraColumn()
CCTable::RemoveJoin()
For use by derived class, removed a previously added JOIN to SELECT statement.
CCTable::SetOffsetAndLimit()
Set row offset and limit number of rows returned from queries
CCTable::SetOrder()
Alias for SetSort
CCTable::SetSort()
Set the sort order for the next Query
CCTable::Update()
Update a record in the table
CCTable::UpdateWhere()
Update records that match a specific where filter
CCTable::WhereForSerializedField()
Returns strings usable for searching serialized PHP strings
CCTable::_get_select()
Internal helper that actually constructs SELECT statements
CCTable::_where_to_string()
For use by derived class if they implement _get_select

Class Details

[line 112]
Table for storing various events for analysis by admins



[ Top ]


Class Methods


constructor CCActivityLogTemp [line 119]

CCActivityLogTemp CCActivityLogTemp( )

Standard constructor



Tags:



[ Top ]

method GetTable [line 138]

object &GetTable( )

Returns static singleton of table wrapper.

Use this method instead of the constructor to get an instance of this class.




Tags:

return:  An instance of this table


Overrides CCTable::GetTable() (Get an instance of this table.)

[ Top ]

method _tname [line 125]

void _tname( )



[ Top ]


Documentation generated on Sat, 17 Nov 2007 01:03:09 +0000 by phpDocumentor 1.3.0RC4