Public Member Functions | Public Attributes

History Class Reference

User access history to contents Model is not a proper BEdita object, model data in history table. More...

Inheritance diagram for History:
BEAppModel AppModel

List of all members.

Public Member Functions

 getUserHistory ($user_id, $limit=null, $group=array(), $areaId=null, $order="DESC")
 get user history in desc order

Public Attributes

 $useTable = "history"
 $belongsTo

Detailed Description

User access history to contents Model is not a proper BEdita object, model data in history table.

Definition at line 26 of file history.php.


Member Function Documentation

History::getUserHistory ( user_id,
limit = null,
group = array(),
areaId = null,
order = "DESC" 
)

get user history in desc order

Parameters:
int $user_id
int $limit
array $group contains fields to group by
int $areaId publication area id, all publications if not set
string $order possible options ASC, DESC. Default DESC.
Returns:
array of history in the form array( 0 => array(id => , user_id => , ...), 1 => array(id => , user_id => , ...), ... )

Definition at line 53 of file history.php.


Member Data Documentation

History::$belongsTo
Initial value:
 array(
        "BEObject" => array(
            "foreignKey" => "object_id"
        ),
        "User", "Area"
    )

Definition at line 30 of file history.php.


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:47 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus