PHP Class Menus_model, TastyIgniter

Inheritance: extends CI_Model
Show file Open project: tastyigniter/tastyigniter Class Usage Examples

Public Methods

Method Description
deleteMenu ( $menu_id )
getAutoComplete ( $filter_data = [] )
getCount ( $filter = [] )
getList ( $filter = [] )
getMenu ( $menu_id )
saveMenu ( $menu_id, $save = [] )
updateStock ( $menu_id, $quantity, $action = 'subtract' )

Method Details

deleteMenu() public method

public deleteMenu ( $menu_id )

getAutoComplete() public method

public getAutoComplete ( $filter_data = [] )

getCount() public method

public getCount ( $filter = [] )

getList() public method

public getList ( $filter = [] )

getMenu() public method

public getMenu ( $menu_id )

saveMenu() public method

public saveMenu ( $menu_id, $save = [] )

updateStock() public method

public updateStock ( $menu_id, $quantity, $action = 'subtract' )