PHP Class CMS\Model\Language

Inheritance: extends Phalcon\Mvc\Model
Show file Open project: oleksandr-torosh/yona-cms Class Usage Examples

Public Properties

Property Type Description
$id
$iso
$locale
$name
$primary
$short_name
$sortorder
$url

Public Methods

Method Description
afterCreate ( )
afterDelete ( )
afterSave ( )
afterUpdate ( )
afterValidation ( )
afterValidationOnCreate ( )
cacheKey ( )
findCachedByIso ( $iso )
findCachedLanguages ( )
findCachedLanguagesIso ( )
getId ( ) : mixed
getIso ( ) : mixed
getLocale ( ) : mixed
getName ( ) : mixed
getPrimary ( ) : mixed
getShort_name ( ) : mixed
getSortorder ( ) : mixed
getSource ( )
getUpperSortorder ( )
getUrl ( ) : mixed
setId ( mixed $id )
setIso ( mixed $iso )
setLocale ( mixed $locale )
setName ( mixed $name )
setOnlyOnePrimary ( )
setPrimary ( mixed $primary )
setShort_name ( mixed $short_name )
setSortorder ( mixed $sortorder )
setUrl ( mixed $url )
validation ( )

Private Methods

Method Description
buildCmsLanguagesCache ( )

Method Details

afterCreate() public method

public afterCreate ( )

afterDelete() public method

public afterDelete ( )

afterSave() public method

public afterSave ( )

afterUpdate() public method

public afterUpdate ( )

afterValidation() public method

public afterValidation ( )

afterValidationOnCreate() public method

cacheKey() public static method

public static cacheKey ( )

findCachedByIso() public static method

public static findCachedByIso ( $iso )

findCachedLanguages() public static method

public static findCachedLanguages ( )

findCachedLanguagesIso() public static method

public static findCachedLanguagesIso ( )

getId() public method

public getId ( ) : mixed
return mixed

getIso() public method

public getIso ( ) : mixed
return mixed

getLocale() public method

public getLocale ( ) : mixed
return mixed

getName() public method

public getName ( ) : mixed
return mixed

getPrimary() public method

public getPrimary ( ) : mixed
return mixed

getShort_name() public method

public getShort_name ( ) : mixed
return mixed

getSortorder() public method

public getSortorder ( ) : mixed
return mixed

getSource() public method

public getSource ( )

getUpperSortorder() public method

public getUpperSortorder ( )

getUrl() public method

public getUrl ( ) : mixed
return mixed

setId() public method

public setId ( mixed $id )
$id mixed

setIso() public method

public setIso ( mixed $iso )
$iso mixed

setLocale() public method

public setLocale ( mixed $locale )
$locale mixed

setName() public method

public setName ( mixed $name )
$name mixed

setOnlyOnePrimary() public method

public setOnlyOnePrimary ( )

setPrimary() public method

public setPrimary ( mixed $primary )
$primary mixed

setShort_name() public method

public setShort_name ( mixed $short_name )
$short_name mixed

setSortorder() public method

public setSortorder ( mixed $sortorder )
$sortorder mixed

setUrl() public method

public setUrl ( mixed $url )
$url mixed

validation() public method

public validation ( )

Property Details

$id public property

public $id

$iso public property

public $iso

$locale public property

public $locale

$name public property

public $name

$primary public property

public $primary

$short_name public property

public $short_name

$sortorder public property

public $sortorder

$url public property

public $url