PHP Class OCA\OcSms\Controller\SettingsController

Inheritance: extends OCP\AppFramework\Controller
Afficher le fichier Open project: nerzhul/ocsms

Méthodes publiques

Méthode 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 méthode

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

getSettings() public méthode

public getSettings ( )

setContactOrder() public méthode

public setContactOrder ( $attribute, $reverse ) : OCP\AppFramework\Http\JSONResponse
$attribute
$reverse
Résultat OCP\AppFramework\Http\JSONResponse

setCountry() public méthode

public setCountry ( $country ) : OCP\AppFramework\Http\JSONResponse
$country
Résultat OCP\AppFramework\Http\JSONResponse

setMessageLimit() public méthode

public setMessageLimit ( $limit ) : OCP\AppFramework\Http\JSONResponse
$limit
Résultat OCP\AppFramework\Http\JSONResponse

setNotificationState() public méthode

public setNotificationState ( $notification ) : OCP\AppFramework\Http\JSONResponse
$notification
Résultat OCP\AppFramework\Http\JSONResponse