PHP Class Pimcore\Model\Object\KeyValue\TranslatorConfig

Inheritance: extends Pimcore\Model\AbstractModel
Show file Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$id integer
$name string
$translator

Public Methods

Method Description
create ( ) : TranslatorConfig
getById ( integer $id ) : TranslatorConfig
getByName ( $name )
getId ( ) : integer
getName ( ) : string
getTranslator ( )
setId ( integer $id )
setName ( string $name )
setTranslator ( $translator )

Method Details

create() public static method

public static create ( ) : TranslatorConfig
return TranslatorConfig

getById() public static method

public static getById ( integer $id ) : TranslatorConfig
$id integer
return TranslatorConfig

getByName() public static method

public static getByName ( $name )
$name

getId() public method

public getId ( ) : integer
return integer

getName() public method

public getName ( ) : string
return string

getTranslator() public method

public getTranslator ( )

setId() public method

public setId ( integer $id )
$id integer

setName() public method

public setName ( string $name )
$name string

setTranslator() public method

public setTranslator ( $translator )

Property Details

$id public property

public int $id
return integer

$name public property

public string $name
return string

$translator public property

public $translator