Return LoadService object to get services from.
Same as get('service'), but uses dedicated getService() methods to allows code editor to know the type of the return value.
Example
Get Pages -object
$Orders = $this->loadService()->getPages('order');
Use examples
Page by id
$Order = $this->get('page','order',$orderId);
Resources list
Account
| Method |
Return |
Description |
| getAccount([id/name]) |
madAccount |
Default: current Account |
| getProfile([id/name]) |
mad_profiili |
Default: current Profile |
| getUser([id/name]) |
madUser |
Default: current User |
Schema
| Method |
Return |
Description |
| getTables() |
eTableCollection |
List of tables |
| getTable(id/name) |
madTable |
Table |
| getAction(id/name) |
eAction |
Action |
Data
| Method |
Return |
Description |
| getPages(table) |
mad_sivutiedot |
List of pages |
| getPage(table[,id]) |
Sivu |
Page |
Connection
| Method |
Return |
Description |
| getWebsercice(service[,connection]) |
mad_webservice |
Default: First connection to service |
| getDatabase([name |
connectionArray]) |
eDatabase | Default: eKAnsio database |
Data manipulating
| Method |
Return |
Description |
| getDate([date]) |
eDate |
|
| getDuration([time]) |
eDuration |
|
| getTime([time]) |
eTime |
|
File
| Method |
Return |
Description |
| getCsv([params]) |
eCsv |
|
System
| Method |
Return |
Description |
| getSession() |
eSession |
Set/Get session data |
| getNotification([params]) |
eNotification |
|