PHP Class Owl\Repositories\Fluent\ItemHistoryRepository

Inheritance: extends AbstractFluent, implements Owl\Repositories\ItemHistoryRepositoryInterface
Show file Open project: owl/owl

Protected Properties

Property Type Description
$table

Public Methods

Method Description
create ( object $item, object $user ) : stdClass Create a item history.
deleteItemHistory ( $item_id ) : boolean Delete a item history.
getById ( $id ) : stdClass Get a item history by item history id.
getByOpenItemId ( string $open_item_id ) : stdClass Get a item history by open item id.
getTableName ( ) : string Get a table name.

Method Details

create() public method

Create a item history.
public create ( object $item, object $user ) : stdClass
$item object
$user object
return stdClass

deleteItemHistory() public method

Delete a item history.
public deleteItemHistory ( $item_id ) : boolean
$item_id int
return boolean

getById() public method

Get a item history by item history id.
public getById ( $id ) : stdClass
$id int
return stdClass

getByOpenItemId() public method

Get a item history by open item id.
public getByOpenItemId ( string $open_item_id ) : stdClass
$open_item_id string
return stdClass

getTableName() public method

Get a table name.
public getTableName ( ) : string
return string

Property Details

$table protected property

protected $table