ServiceLoader

Load service

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

Request/Response

Method Return Description
getRequest() SnowflakeRequest Request information
getResponse() SnowflakeResponse Reponse information

Account

Method Return Description
getAccount([id/name]) madAccount Default: current Account
getAccounts() eAccountCollection List of accounts
getProfile([id/name]) mad_profiili Default: current Profile
getProfiles() eProfileCollection List of all profiles
getUser([id/name]) madUser Default: current User
getUsers() eUserCollection List of users

Schema

Method Return Description
getTable(id/name) madTable Table
getTables() eTableCollection List of tables
getAction(id/name) eAction Action
getActions() eActionCollection Actions list
getReport(id/name) mad_raportti Report
getReports() eReportCollection Reports list

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