PHP Class LookupTable

Exibir arquivo Open project: openeyes/openeyes Class Usage Examples

Public Methods

Method Description
active ( ) * Named scope for rows that are active
activeOrPk ( $id ) * Named scope for rows that are active or match the PK(s) given

Method Details

active() public method

* Named scope for rows that are active
public active ( )

activeOrPk() public method

* Named scope for rows that are active or match the PK(s) given
public activeOrPk ( $id )
$id PK