Class TrHelper
i18n - translation helper
- Helper
- AppHelper
- TrHelper
Located at views/helpers/tr.php
Methods summary
public
string
|
|
public
|
|
public
string
|
|
public
string
|
|
public
mixed
|
#
translatePlural( string $s, string $plural, integer $count, boolean $return = false )
normal translation using i18n in cake php |
public
string
|
#
moduleField( string $moduleName, string $dbFieldName )
return the field used in the module corresponding to a database field |
Methods inherited from AppHelper
Properties summary
public
array
|
$helpers
Included helpers. |
#
array('Html')
|
private
array
|
$moduleFieldMap
map fields in db in form fields for any module |
#
array(
"commonFields" => array(
"title" => "title",
"description" => "description",
"nickname" => "unique name",
"start_date" => "scheduled from",
"end_date" => "to",
"abstract" => "short text",
"body" => "long text",
"creator" => "author",
"lang" => "main language",
"duration" => "duration in minutes",
"subject" => "subject"
),
"events" => array("creator" => "promoter"),
"areas" => array("creator" => "creator"),
"newsletter" => array(
"sender" => "sender email",
"reply_to" => "reply to",
"bounce_to" => "bounce to",
"privacy_disclaimer" => "privacy disclaimer",
"abstract" => "PLAIN TEXT version",
"body" => "HTML version"
)
)
|