modules/supervision/models/Comments.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Supervision_Model_Comments

Package: Supervision\Models
Supervision_Model_Comments
Access
public  
Author
Evgeniy  
Version
$Id$  

Properties

>VPropertyprivate$db
db intence
Details
Type
n/a
>VPropertyprivate$projDbName
Project name
Details
Type
n/a
>VPropertyprivateinteger $projId = 0
current project id
Default value0Details
Type
integer

Methods

methodpublic__construct( $projId = "") : void

Parameters
NameTypeDescription
$projId
methodpublicdeleteComment(integer $commentId) : void

Delete comment by id

Parameters
NameTypeDescription
$commentIdinteger
methodpublicgetComments() : \[type]

Get all commetns for current project

Returns
TypeDescription
\[type][description]
methodpublicsaveComment(integer $commentId, integer $meId, string $comment) : void

Save comment

Parameters
NameTypeDescription
$commentIdinteger
$meIdinteger
$commentstring
Documentation was generated by phpDocumentor 2.8.5.