PHP 클래스 Tree\Model\Category

상속: extends Application\Mvc\Model\Model
파일 보기 프로젝트 열기: oleksandr-torosh/yona-cms 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$roots translate
$title

보호된 프로퍼티들

프로퍼티 타입 설명
$translateModel

공개 메소드들

메소드 설명
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 ( )

메소드 상세

beforeCreate() 공개 메소드

public beforeCreate ( )

beforeUpdate() 공개 메소드

public beforeUpdate ( )

children() 공개 메소드

public children ( )

getCreatedAt() 공개 메소드

public getCreatedAt ( ) : mixed
리턴 mixed

getDepth() 공개 메소드

public getDepth ( ) : mixed
리턴 mixed

getId() 공개 메소드

public getId ( ) : mixed
리턴 mixed

getLeftKey() 공개 메소드

public getLeftKey ( ) : mixed
리턴 mixed

getParentId() 공개 메소드

public getParentId ( ) : mixed
리턴 mixed

getRightKey() 공개 메소드

public getRightKey ( ) : mixed
리턴 mixed

getRoot() 공개 메소드

public getRoot ( ) : string
리턴 string

getSlug() 공개 메소드

public getSlug ( ) : mixed
리턴 mixed

getSource() 공개 메소드

public getSource ( )

getTitle() 공개 메소드

public getTitle ( ) : mixed
리턴 mixed

getUpdatedAt() 공개 메소드

public getUpdatedAt ( ) : mixed
리턴 mixed

hasChildren() 공개 메소드

public hasChildren ( )

initialize() 공개 메소드

public initialize ( )

setCreatedAt() 공개 메소드

public setCreatedAt ( mixed $created_at )
$created_at mixed

setDepth() 공개 메소드

public setDepth ( mixed $depth )
$depth mixed

setId() 공개 메소드

public setId ( mixed $id )
$id mixed

setLeftKey() 공개 메소드

public setLeftKey ( mixed $left_key )
$left_key mixed

setParentId() 공개 메소드

public setParentId ( mixed $parent_id )
$parent_id mixed

setRightKey() 공개 메소드

public setRightKey ( mixed $right_key )
$right_key mixed

setRoot() 공개 메소드

public setRoot ( string $root )
$root string

setSlug() 공개 메소드

public setSlug ( mixed $slug )
$slug mixed

setTitle() 공개 메소드

public setTitle ( mixed $title )
$title mixed

setUpdatedAt() 공개 메소드

public setUpdatedAt ( mixed $updated_at )
$updated_at mixed

treeUpperLeafs() 공개 정적인 메소드

public static treeUpperLeafs ( $root )

validation() 공개 메소드

public validation ( )

프로퍼티 상세

$roots 공개적으로 정적으로 프로퍼티

translate
public static $roots

$title 공개적으로 프로퍼티

public $title

$translateModel 보호되어 있는 프로퍼티

protected $translateModel