PHP Class CsvDefinition, core

Author: Jan Vansteenlandt ([email protected])
Inheritance: extends SourceType
Show file Open project: tdt/core Class Usage Examples

Protected Properties

Property Type Description
$fillable
$table

Public Methods

Method Description
__get ( $name ) Overwrite the magic __get function to retrieve the primary key parameter. This isn't a real parameter but a derived one from the tabularcolumns relation.
delete ( ) Because we have related models, and non hard defined foreign key relationships we have to delete our related models ourselves.
geoProperties ( ) Relationship with the Geo properties model.
tabularColumns ( ) Relationship with the TabularColumns model.

Method Details

__get() public method

Overwrite the magic __get function to retrieve the primary key parameter. This isn't a real parameter but a derived one from the tabularcolumns relation.
public __get ( $name )

delete() public method

Because we have related models, and non hard defined foreign key relationships we have to delete our related models ourselves.
public delete ( )

geoProperties() public method

Relationship with the Geo properties model.
public geoProperties ( )

tabularColumns() public method

Relationship with the TabularColumns model.
public tabularColumns ( )

Property Details

$fillable protected property

protected $fillable

$table protected property

protected $table