PHP Class Tree\Model\Category

Inheritance: extends Application\Mvc\Model\Model
Afficher le fichier Open project: oleksandr-torosh/yona-cms Class Usage Examples

Méthodes publiques

Свойство Type Description
$roots translate
$title

Protected Properties

Свойство Type Description
$translateModel

Méthodes publiques

Méthode Description
beforeCreate ( )
beforeUpdate ( )
children ( )
getCreatedAt ( ) : mixed
getDepth ( ) : mixed
getId ( ) : mixed
getLeftKey ( ) : mixed
getParentId ( ) : mixed
getRightKey ( ) : mixed
getRoot ( ) : string
getSlug ( ) : mixed
getSource ( )
getTitle ( ) : mixed
getUpdatedAt ( ) : mixed
hasChildren ( )
initialize ( )
setCreatedAt ( mixed $created_at )
setDepth ( mixed $depth )
setId ( mixed $id )
setLeftKey ( mixed $left_key )
setParentId ( mixed $parent_id )
setRightKey ( mixed $right_key )
setRoot ( string $root )
setSlug ( mixed $slug )
setTitle ( mixed $title )
setUpdatedAt ( mixed $updated_at )
treeUpperLeafs ( $root )
validation ( )

Method Details

beforeCreate() public méthode

public beforeCreate ( )

beforeUpdate() public méthode

public beforeUpdate ( )

children() public méthode

public children ( )

getCreatedAt() public méthode

public getCreatedAt ( ) : mixed
Résultat mixed

getDepth() public méthode

public getDepth ( ) : mixed
Résultat mixed

getId() public méthode

public getId ( ) : mixed
Résultat mixed

getLeftKey() public méthode

public getLeftKey ( ) : mixed
Résultat mixed

getParentId() public méthode

public getParentId ( ) : mixed
Résultat mixed

getRightKey() public méthode

public getRightKey ( ) : mixed
Résultat mixed

getRoot() public méthode

public getRoot ( ) : string
Résultat string

getSlug() public méthode

public getSlug ( ) : mixed
Résultat mixed

getSource() public méthode

public getSource ( )

getTitle() public méthode

public getTitle ( ) : mixed
Résultat mixed

getUpdatedAt() public méthode

public getUpdatedAt ( ) : mixed
Résultat mixed

hasChildren() public méthode

public hasChildren ( )

initialize() public méthode

public initialize ( )

setCreatedAt() public méthode

public setCreatedAt ( mixed $created_at )
$created_at mixed

setDepth() public méthode

public setDepth ( mixed $depth )
$depth mixed

setId() public méthode

public setId ( mixed $id )
$id mixed

setLeftKey() public méthode

public setLeftKey ( mixed $left_key )
$left_key mixed

setParentId() public méthode

public setParentId ( mixed $parent_id )
$parent_id mixed

setRightKey() public méthode

public setRightKey ( mixed $right_key )
$right_key mixed

setRoot() public méthode

public setRoot ( string $root )
$root string

setSlug() public méthode

public setSlug ( mixed $slug )
$slug mixed

setTitle() public méthode

public setTitle ( mixed $title )
$title mixed

setUpdatedAt() public méthode

public setUpdatedAt ( mixed $updated_at )
$updated_at mixed

treeUpperLeafs() public static méthode

public static treeUpperLeafs ( $root )

validation() public méthode

public validation ( )

Property Details

$roots public_oe static_oe property

translate
public static $roots

$title public_oe property

public $title

$translateModel protected_oe property

protected $translateModel