models/Split.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Split

Package: Models
Split
Parent(s)
\Zend_Db_Table
Access
public  
Author
Alexander  
Copyright
2010  
Version
$Id$  

Constants

>VConstant  TYPE_QUEST = 1
>VConstant  TYPE_ANS = 2

Properties

>VPropertyprotectedstring $_name = 'split'
table name
Default value'split'Details
Type
string
>VPropertypublic$id
Details
Type
n/a
>VPropertypublic$items
Details
Type
n/a

Methods

methodpublicaddItems(mixed $sid, mixed $childs, mixed $type) : void

Add split items

Parameters
NameTypeDescription
$sidmixed
$childsmixed
$typemixed
methodpublicdelByQuest(mixed $id) :

Delete split and items by question id

Parameters
NameTypeDescription
$idmixed
methodpublicgetById(mixed $id) :

Split::getById() Get split rule

Parameters
NameTypeDescription
$idmixed
methodpublicgetForAns(mixed $id) :

Get split for answers

Parameters
NameTypeDescription
$idmixed
methodpublicgetForQuest(mixed $id) :

Get split for questions by id

Parameters
NameTypeDescription
$idmixed
methodpublicgetItems(mixed $id) :

Get split items

Parameters
NameTypeDescription
$idmixed
Documentation was generated by phpDocumentor 2.8.5.