PHP Class DBEntity, FreeSO

Inheritance: extends Entity
Show file Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
$selector
$table

Public Methods

Method Description
create ( ) Create a new entity
init ( $row )
reload ( ) Get latest values
table ( )

Protected Methods

Method Description
all ( $condition )
first ( $condition ) Gets all records for the given condition *
query ( $qry )

Method Details

all() protected static method

protected static all ( $condition )

create() public method

Create a new entity
public create ( )

first() protected static method

Gets all records for the given condition *
protected static first ( $condition )

init() public method

public init ( $row )

query() protected static method

protected static query ( $qry )

reload() public method

Get latest values
public reload ( )

table() public static method

public static table ( )

Property Details

$selector public static property

public static $selector

$table public static property

public static $table