PHP Class OCA\OcSms\Controller\SettingsController

Inheritance: extends OCP\AppFramework\Controller
Show file Open project: nerzhul/ocsms

Public Methods

Method Description
__construct ( $appName, OCP\IRequest $request, ConfigMapper $cfgMapper )
getSettings ( )
setContactOrder ( $attribute, $reverse ) : OCP\AppFramework\Http\JSONResponse
setCountry ( $country ) : OCP\AppFramework\Http\JSONResponse
setMessageLimit ( $limit ) : OCP\AppFramework\Http\JSONResponse
setNotificationState ( $notification ) : OCP\AppFramework\Http\JSONResponse

Method Details

__construct() public method

public __construct ( $appName, OCP\IRequest $request, ConfigMapper $cfgMapper )
$request OCP\IRequest
$cfgMapper OCA\OcSms\Db\ConfigMapper

getSettings() public method

public getSettings ( )

setContactOrder() public method

public setContactOrder ( $attribute, $reverse ) : OCP\AppFramework\Http\JSONResponse
$attribute
$reverse
return OCP\AppFramework\Http\JSONResponse

setCountry() public method

public setCountry ( $country ) : OCP\AppFramework\Http\JSONResponse
$country
return OCP\AppFramework\Http\JSONResponse

setMessageLimit() public method

public setMessageLimit ( $limit ) : OCP\AppFramework\Http\JSONResponse
$limit
return OCP\AppFramework\Http\JSONResponse

setNotificationState() public method

public setNotificationState ( $notification ) : OCP\AppFramework\Http\JSONResponse
$notification
return OCP\AppFramework\Http\JSONResponse