AdiantiRecordService
in package
Record rest service
Tags
Table of Contents
Methods
- countAll() : The
- Find the count Records by the filter
- delete() : mixed
- Delete an Active Record object from the database
- deleteAll() : The
- Delete the Active Records by the filter
- handle() : mixed
- Handle HTTP Request and dispatch
- load() : The
- Find a Active Record and returns it
- loadAll() : The
- List the Active Records by the filter
- store() : mixed
- Store the objects into the database
Methods
countAll()
Find the count Records by the filter
public
countAll(mixed $param) : The
Parameters
- $param : mixed
-
HTTP parameter
Return values
The —Active Record list as array
delete()
Delete an Active Record object from the database
public
delete(mixed $param) : mixed
Parameters
- $param : mixed
deleteAll()
Delete the Active Records by the filter
public
deleteAll(mixed $param) : The
Parameters
- $param : mixed
-
HTTP parameter
Return values
The —result of operation
handle()
Handle HTTP Request and dispatch
public
handle(mixed $param) : mixed
Parameters
- $param : mixed
-
HTTP POST and php input vars
load()
Find a Active Record and returns it
public
load(mixed $param) : The
Parameters
- $param : mixed
-
HTTP parameter
Return values
The —Active Record itself as array
loadAll()
List the Active Records by the filter
public
loadAll(mixed $param) : The
Parameters
- $param : mixed
-
HTTP parameter
Return values
The —Active Record list as array
store()
Store the objects into the database
public
store(mixed $param) : mixed
Parameters
- $param : mixed
-
HTTP parameter