modules/questionnaire/models/Table/Chapterlang.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Questionnaire_Model_Table_Chapterlang

Package: Questionnaire\Models
Created by JetBrains PhpStorm.

User: Evgeniy Date: 06.09.13 Time: 11:28 To change this template use File | Settings | File Templates.

Parent(s)
\Scout_Db_Table

Methods

methodpublicaddChapterLangs(integer $chapter_id, array $langs) : void

add translations to one chapter

Parameters
NameTypeDescription
$chapter_idinteger
$langsarray
methodpublicaddLangs(integer $qst_id, array $langs) : void

Add translations to all chapters for questionnaire

Parameters
NameTypeDescription
$qst_idinteger
$langsarray
methodpublicgetById(integer $chapter_id, array $langs = array()) : array

get translations for chapter by id

Parameters
NameTypeDescription
$chapter_idinteger
$langsarray
Returns
TypeDescription
array
methodpublicgetByQstId(integer $qst_id, array $langs = array()) : array

get translations from chapter by quetionnaire

Parameters
NameTypeDescription
$qst_idinteger
$langsarray
Returns
TypeDescription
array
methodpublicinit() : \[type]

Init model

Returns
TypeDescription
\[type][description]
methodpublicremoveLangs(integer $qst_id, array $langs) : void

remove tranlations for cahpter by quetionnaire

Parameters
NameTypeDescription
$qst_idinteger
$langsarray
methodpublicupdateLang(integer $chapter_id, string $lang, array $data) : void

Update some translations for chapter

Parameters
NameTypeDescription
$chapter_idinteger
$langstring
$dataarray
Documentation was generated by phpDocumentor 2.8.5.