PHP 클래스 Baum\Extensions\Eloquent\Model

상속: extends Illuminate\Database\Eloquent\Model
파일 보기 프로젝트 열기: gazsp/baum 1 사용 예제들

공개 메소드들

메소드 설명
areSoftDeletesEnabled ( ) : boolean Returns wether soft delete functionality is enabled on the model or not.
getObservableEvents ( ) : array Get the observable event names.
moved ( Closure | string $callback, $priority ) : void Register a moved model event with the dispatcher.
moving ( Closure | string $callback, $priority ) : void Register a moving model event with the dispatcher.
reload ( ) : Node Reloads the model from the database.
softDeletesEnabled ( ) : boolean Static method which returns wether soft delete functionality is enabled on the model.

보호된 메소드들

메소드 설명
getFreshInstance ( ) : Node Returns a fresh instance from the database.
newBaseQueryBuilder ( ) : Builder Get a new query builder instance for the connection.

메소드 상세

areSoftDeletesEnabled() 공개 메소드

Returns wether soft delete functionality is enabled on the model or not.
public areSoftDeletesEnabled ( ) : boolean
리턴 boolean

getFreshInstance() 보호된 메소드

Returns a fresh instance from the database.
protected getFreshInstance ( ) : Node
리턴 Baum\Node

getObservableEvents() 공개 메소드

Get the observable event names.
public getObservableEvents ( ) : array
리턴 array

moved() 공개 정적인 메소드

Register a moved model event with the dispatcher.
public static moved ( Closure | string $callback, $priority ) : void
$callback Closure | string
리턴 void

moving() 공개 정적인 메소드

Register a moving model event with the dispatcher.
public static moving ( Closure | string $callback, $priority ) : void
$callback Closure | string
리턴 void

newBaseQueryBuilder() 보호된 메소드

Get a new query builder instance for the connection.
protected newBaseQueryBuilder ( ) : Builder
리턴 Baum\Extensions\Query\Builder

reload() 공개 메소드

Reloads the model from the database.
public reload ( ) : Node
리턴 Baum\Node

softDeletesEnabled() 공개 정적인 메소드

Static method which returns wether soft delete functionality is enabled on the model.
public static softDeletesEnabled ( ) : boolean
리턴 boolean