Localization

Extends \LocalizationAppModel

Localization Model

package

Localization

subpackage

Model

Methods

{@inheritdoc}

__construct(boolean|integer|string|array $id = false, string $table = null, string $ds = null) 

Arguments

$id

boolean|integer|string|array

Set this ID for this model on startup, can also be an array of options, see above.

$table

string

Name of database table to use.

$ds

string

DataSource connection name.

Delete all localization records

clearAll() : boolean

Response

boolean

Export data

export() : array

Response

array

Import data

import(array $data) : boolean

Arguments

$data

array

Response

boolean

Properties

{@inheritdoc}

useTable : array
var

Type(s)

array

{@inheritdoc}

useDbConfig : string
inherited
var

Type(s)

string

{@inheritdoc}

actsAs : array
inherited
var

Type(s)

array

{@inheritdoc}

recursive : integer
inherited
var

Type(s)

integer

Language

Language : \Language

Localization language model

Type(s)

\Language

Message

Message : \Message

Localization message model

Type(s)

\Message

MessageReference

MessageReference : \MessageReference

Localization message reference model

Type(s)

\MessageReference

Translation

Translation : \Translation

Localization translation model

Type(s)

\Translation