PHP 클래스 NodesController

상속: extends BaseController
파일 보기 프로젝트 열기: croogo/croogo 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$components array Components
$name string Controller name
$presetVars array Preset Variable Search
$uses array Models used by the Controller

공개 메소드들

메소드 설명
admin_add ( string $typeAlias = 'node' ) : void Admin add
admin_add_meta ( ) : void Admin add meta
admin_create ( ) : void Admin create
admin_delete ( integer $id = null ) : void Admin delete
admin_delete_meta ( integer $id = null ) : void Admin delete meta
admin_edit ( integer $id = null ) : void Admin edit
admin_hierarchy ( ) : void Display node hierarchy scoped on Content type
admin_index ( ) : void Admin index
admin_movedown ( integer $id, integer $step = 1 ) Move a node down when scoped to Content type
admin_moveup ( integer $id, integer $step = 1 ) : void Move a node up when scoped to Content type
admin_process ( ) : void Admin process
admin_toggle ( string $id = null, integer $status = null ) : void Toggle Node status
admin_update_paths ( ) : void Admin update paths
afterConstruct ( ) afterConstruct
beforeFilter ( ) : void beforeFilter
index ( ) : void Index
promoted ( ) : void Promoted
search ( string $typeAlias = null ) : void Search
term ( ) : void Term
view ( integer $id = null ) : void View

보호된 메소드들

메소드 설명
_setCommonVariables ( array $type ) : void Set common form variables to views
_viewFallback ( mixed $views ) : string View Fallback

메소드 상세

_setCommonVariables() 보호된 메소드

Set common form variables to views
protected _setCommonVariables ( array $type ) : void
$type array Type data
리턴 void

_viewFallback() 보호된 메소드

View Fallback
사용 중단: Use CroogoComponent::viewFallback()
protected _viewFallback ( mixed $views ) : string
$views mixed
리턴 string

admin_add() 공개 메소드

Admin add
public admin_add ( string $typeAlias = 'node' ) : void
$typeAlias string
리턴 void

admin_add_meta() 공개 메소드

Admin add meta
사용 중단: Use MetaController::admin_add_meta()
public admin_add_meta ( ) : void
리턴 void

admin_create() 공개 메소드

Admin create
public admin_create ( ) : void
리턴 void

admin_delete() 공개 메소드

Admin delete
public admin_delete ( integer $id = null ) : void
$id integer
리턴 void

admin_delete_meta() 공개 메소드

Admin delete meta
사용 중단: Use MetaController::admin_delete_meta()
public admin_delete_meta ( integer $id = null ) : void
$id integer
리턴 void

admin_edit() 공개 메소드

Admin edit
public admin_edit ( integer $id = null ) : void
$id integer
리턴 void

admin_hierarchy() 공개 메소드

Display node hierarchy scoped on Content type
public admin_hierarchy ( ) : void
리턴 void

admin_index() 공개 메소드

Admin index
public admin_index ( ) : void
리턴 void

admin_movedown() 공개 메소드

Move a node down when scoped to Content type
public admin_movedown ( integer $id, integer $step = 1 )
$id integer Node id
$step integer Step

admin_moveup() 공개 메소드

Move a node up when scoped to Content type
public admin_moveup ( integer $id, integer $step = 1 ) : void
$id integer Node id
$step integer Step
리턴 void

admin_process() 공개 메소드

Admin process
public admin_process ( ) : void
리턴 void

admin_toggle() 공개 메소드

Toggle Node status
public admin_toggle ( string $id = null, integer $status = null ) : void
$id string Node id
$status integer Current Node status
리턴 void

admin_update_paths() 공개 메소드

Admin update paths
public admin_update_paths ( ) : void
리턴 void

afterConstruct() 공개 메소드

afterConstruct
public afterConstruct ( )

beforeFilter() 공개 메소드

beforeFilter
public beforeFilter ( ) : void
리턴 void

index() 공개 메소드

Index
public index ( ) : void
리턴 void

promoted() 공개 메소드

Promoted
public promoted ( ) : void
리턴 void

term() 공개 메소드

Term
public term ( ) : void
리턴 void

view() 공개 메소드

View
public view ( integer $id = null ) : void
$id integer
리턴 void

프로퍼티 상세

$components 공개적으로 프로퍼티

Components
public array $components
리턴 array

$name 공개적으로 프로퍼티

Controller name
public string $name
리턴 string

$presetVars 공개적으로 프로퍼티

Preset Variable Search
public array $presetVars
리턴 array

$uses 공개적으로 프로퍼티

Models used by the Controller
public array $uses
리턴 array