PHP 클래스 lazyrecord\schema\MixinDeclareSchema

상속: extends DeclareSchema
파일 보기 프로젝트 열기: corneltek/lazyrecord

보호된 프로퍼티들

프로퍼티 타입 설명
$parentSchema

공개 메소드들

메소드 설명
__construct ( $parentSchema, array $options = [] )
afterCreate ( $args )
afterUpdate ( $args )
beforeCreate ( $args ) compatible methods for BaseModel to mixin.
beforeUpdate ( $args )
build ( array $options = [] ) Build schema.
getParentSchema ( )
index ( $name, $columns = null, $using = null )
postSchema ( )
schema ( ) * is_a can not work on an abstract class

메소드 상세

__construct() 공개 메소드

public __construct ( $parentSchema, array $options = [] )
$options array

afterCreate() 공개 정적인 메소드

public static afterCreate ( $args )

afterUpdate() 공개 정적인 메소드

public static afterUpdate ( $args )

beforeCreate() 공개 정적인 메소드

compatible methods for BaseModel to mixin.
public static beforeCreate ( $args )

beforeUpdate() 공개 정적인 메소드

public static beforeUpdate ( $args )

build() 공개 메소드

Build schema.
public build ( array $options = [] )
$options array

getParentSchema() 공개 메소드

public getParentSchema ( )

index() 공개 메소드

public index ( $name, $columns = null, $using = null )

postSchema() 공개 메소드

public postSchema ( )

schema() 공개 메소드

* is_a can not work on an abstract class
public schema ( )

프로퍼티 상세

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

protected $parentSchema