models/Actions.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Actions

Package: Models
Actions model
Parent(s)
\Scout_Db_Table

Constants

>VConstant  ACTION_STATUS_INUSE = 99
>VConstant  ACTION_STATUS_OVERQOUTA = 94
>VConstant  ACTION_STATUS_ZEROQOUTA = 95
>VConstant  ACTION_STATUS_STOPPED = 96
>VConstant  ACTION_STATUS_DONE = 0

Methods

methodpubliccountByLang(string $lang) : integer

Count actions by land

Parameters
NameTypeDescription
$langstring

Lang name

Returns
TypeDescription
integerCount actions
methodpublicgetById(integer $id) : \Zend_Db_Table_Rowset

Aget one action by id

Parameters
NameTypeDescription
$idinteger
Returns
TypeDescription
\Zend_Db_Table_Rowset
methodpublicgetBySfId(integer $sf_id) : array<mixed,\Zend_Db_Table_Rowset>

Get actions by sample file

Parameters
NameTypeDescription
$sf_idinteger
Returns
TypeDescription
array<mixed,\Zend_Db_Table_Rowset>
methodpublicinit() : void

Init model

methodpublicsetProjectId(integer $proj_id) : void

Set project id

Parameters
NameTypeDescription
$proj_idinteger
Documentation was generated by phpDocumentor 2.8.5.