modules/project/models/PPolicy.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Project_Model_PPolicy

Package: Project\Models
Project_Model_PPolicy
Author
Evgeniy  

Properties

>VPropertyprivatestring $dbName
db name
Details
Type
string
>VPropertyprivateinteger $projId
project id
Details
Type
integer

Methods

methodpublic__construct( $proj_id) : void

Parameters
NameTypeDescription
$proj_id
methodpublicgetStatusesFromPolicy( $statusType) : void

Parameters
NameTypeDescription
$statusType
methodpublicinitProjectPolicies(integer $groupId = 0) : void

Init pulicies for new project by default values

Parameters
NameTypeDescription
$groupIdinteger
methodpublicloadDefaultPolicies(integer $groupId = 0) : array

Load deupld policies for priject

Parameters
NameTypeDescription
$groupIdinteger
Returns
TypeDescription
array
methodpublicloadPolicy() : array

Load pilicies for project

Returns
TypeDescription
array
methodpublicloadPolicyOrder() : \array[hierarhy_id]

Returns
TypeDescription
\array[hierarhy_id]
methodpublicreorderPolicy( $data) : void

Makrerordering for policies list

Parameters
NameTypeDescription
$data

array[]=policy_id

methodpublicsetDefultPolicy() : void

Set new dault pilcy for project

Documentation was generated by phpDocumentor 2.8.5.