modules/postcollection/models/Log.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Postcollection_Model_Log

Package: Postcollection\Models

Properties

>VPropertyprivate$db
Details
Type
n/a
>VPropertyprivate$dbName = "scout_postcollection"
Default value"scout_postcollection"Details
Type
n/a
>VPropertyprivate$dbTable = "log"
Default value"log"Details
Type
n/a
>VPropertyprivate$prId
Details
Type
n/a
>VPropertyprivate$qsId
Details
Type
n/a
>VPropertyprivate$user
Details
Type
n/a

Methods

methodpublic__construct( $projectId,  $qsId) : void

Parameters
NameTypeDescription
$projectId
$qsId
methodpublicadd(integer $groupId, integer $actionId, string $description) : void

Add action to log

Parameters
NameTypeDescription
$groupIdinteger
$actionIdinteger
$descriptionstring
methodpublicsearch(\datetime $fromDateTime = "", integer $groupId = 0) : void

Return array with logged actions for groupId groupId: 0 - All, 1 - Category, 2 - Encoding

Parameters
NameTypeDescription
$fromDateTime\datetime
$groupIdinteger
Documentation was generated by phpDocumentor 2.8.5.