PHP Class Publication\Model\Type

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

Public Properties

Property Type Description
$display_date
$format
$formats translate
$head_title
$id
$limit
$meta_description translate
$meta_keywords translate
$seo_text translate
$slug translate
$title

Protected Properties

Property Type Description
$translateModel

Public Methods

Method Description
afterDelete ( )
afterSave ( )
afterUpdate ( )
cacheListKey ( $params )
cacheSlugKey ( $slug )
cachedListArray ( $params = [] )
getCachedBySlug ( $slug )
getDisplayDate ( ) : mixed
getFormat ( ) : string
getFormatTitle ( )
getHeadTitle ( ) : mixed
getId ( ) : mixed
getLimit ( ) : mixed
getMetaDescription ( ) : mixed
getMetaKeywords ( ) : mixed
getSeoText ( ) : mixed
getSlug ( ) : mixed
getSource ( )
getTitle ( ) : mixed
initialize ( )
setDisplayDate ( mixed $display_date )
setFormat ( string $format )
setHeadTitle ( mixed $head_title )
setId ( mixed $id )
setLimit ( mixed $limit )
setMetaDescription ( mixed $meta_description )
setMetaKeywords ( mixed $meta_keywords )
setSeoText ( mixed $seo_text )
setSlug ( mixed $slug )
setTitle ( mixed $title )
types ( )
updateFields ( $data )
validation ( )

Private Methods

Method Description
buildCmsTypesCache ( )

Method Details

afterDelete() public method

public afterDelete ( )

afterSave() public method

public afterSave ( )

afterUpdate() public method

public afterUpdate ( )

cacheListKey() public static method

public static cacheListKey ( $params )

cacheSlugKey() public static method

public static cacheSlugKey ( $slug )

cachedListArray() public static method

public static cachedListArray ( $params = [] )

getCachedBySlug() public static method

public static getCachedBySlug ( $slug )

getDisplayDate() public method

public getDisplayDate ( ) : mixed
return mixed

getFormat() public method

public getFormat ( ) : string
return string

getFormatTitle() public method

public getFormatTitle ( )

getHeadTitle() public method

public getHeadTitle ( ) : mixed
return mixed

getId() public method

public getId ( ) : mixed
return mixed

getLimit() public method

public getLimit ( ) : mixed
return mixed

getMetaDescription() public method

public getMetaDescription ( ) : mixed
return mixed

getMetaKeywords() public method

public getMetaKeywords ( ) : mixed
return mixed

getSeoText() public method

public getSeoText ( ) : mixed
return mixed

getSlug() public method

public getSlug ( ) : mixed
return mixed

getSource() public method

public getSource ( )

getTitle() public method

public getTitle ( ) : mixed
return mixed

initialize() public method

public initialize ( )

setDisplayDate() public method

public setDisplayDate ( mixed $display_date )
$display_date mixed

setFormat() public method

public setFormat ( string $format )
$format string

setHeadTitle() public method

public setHeadTitle ( mixed $head_title )
$head_title mixed

setId() public method

public setId ( mixed $id )
$id mixed

setLimit() public method

public setLimit ( mixed $limit )
$limit mixed

setMetaDescription() public method

public setMetaDescription ( mixed $meta_description )
$meta_description mixed

setMetaKeywords() public method

public setMetaKeywords ( mixed $meta_keywords )
$meta_keywords mixed

setSeoText() public method

public setSeoText ( mixed $seo_text )
$seo_text mixed

setSlug() public method

public setSlug ( mixed $slug )
$slug mixed

setTitle() public method

public setTitle ( mixed $title )
$title mixed

types() public static method

public static types ( )

updateFields() public method

public updateFields ( $data )

validation() public method

public validation ( )

Property Details

$display_date public_oe property

public $display_date

$format public_oe property

public $format

$formats public_oe static_oe property

translate
public static $formats

$head_title public_oe property

public $head_title

$id public_oe property

public $id

$limit public_oe property

public $limit

$meta_description public_oe property

translate
public $meta_description

$meta_keywords public_oe property

translate
public $meta_keywords

$seo_text public_oe property

translate
public $seo_text

$slug public_oe property

translate
public $slug

$title public_oe property

public $title

$translateModel protected_oe property

protected $translateModel