PHP Class lazyrecord\schema\MixinSchemaDeclare

Inheritance: extends DeclareSchema
Datei anzeigen Open project: corneltek/lazyrecord

Protected Properties

Property Type Description
$parentSchema

Public Methods

Method Description
__construct ( $parentSchema, array $options = [] )
afterCreate ( $args )
afterUpdate ( $args )
beforeCreate ( $args ) compatible methods for BaseModel to mixin.
beforeUpdate ( $args )
build ( array $options = [] ) Build schema.
getParentSchema ( )
postSchema ( )
schema ( ) * is_a can not work on an abstract class

Method Details

__construct() public method

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

afterCreate() public static method

public static afterCreate ( $args )

afterUpdate() public static method

public static afterUpdate ( $args )

beforeCreate() public static method

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

beforeUpdate() public static method

public static beforeUpdate ( $args )

build() public method

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

getParentSchema() public method

public getParentSchema ( )

postSchema() public method

public postSchema ( )

schema() public method

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

Property Details

$parentSchema protected_oe property

protected $parentSchema