PHP Class Backend\Modules\FormBuilder\Engine\Api

ファイルを表示 Open project: forkcms/forkcms

Public Methods

Method Description
entriesDelete ( string $id ) Delete entry/entries.
entriesGet ( integer $id, integer $limit = 30, integer $offset ) : array Get the entries for a form
entriesGetById ( integer $id ) : array Get a single entry
getAll ( integer $limit = 30, integer $offset ) : array Get a list of all the forms

Method Details

entriesDelete() public static method

Delete entry/entries.
public static entriesDelete ( string $id )
$id string The id/ids of the entries(s) to delete.

entriesGet() public static method

Get the entries for a form
public static entriesGet ( integer $id, integer $limit = 30, integer $offset ) : array
$id integer The id of the form.
$limit integer The maximum number of items to retrieve.
$offset integer The offset.
return array

entriesGetById() public static method

Get a single entry
public static entriesGetById ( integer $id ) : array
$id integer The id of the entry.
return array

getAll() public static method

Get a list of all the forms
public static getAll ( integer $limit = 30, integer $offset ) : array
$limit integer The maximum number of items to retrieve.
$offset integer The offset.
return array