PHP Class Owl\Repositories\Fluent\ItemHistoryRepository

Inheritance: extends AbstractFluent, implements Owl\Repositories\ItemHistoryRepositoryInterface
Afficher le fichier Open project: owl/owl

Protected Properties

Свойство Type Description
$table

Méthodes publiques

Méthode 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 méthode

Create a item history.
public create ( object $item, object $user ) : stdClass
$item object
$user object
Résultat stdClass

deleteItemHistory() public méthode

Delete a item history.
public deleteItemHistory ( $item_id ) : boolean
$item_id int
Résultat boolean

getById() public méthode

Get a item history by item history id.
public getById ( $id ) : stdClass
$id int
Résultat stdClass

getByOpenItemId() public méthode

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

getTableName() public méthode

Get a table name.
public getTableName ( ) : string
Résultat string

Property Details

$table protected_oe property

protected $table