Channels

Extends \mixisLv\Reamaze\BaseApi

Class Channels

package

mixisLv\Reamaze\Api

author

Mikus Rozenbergs mikus.rozenbergs@gmail.com

Methods

__construct

__construct(\mixisLv\Reamaze\Api $api) 
inherited
Warning: count(): Parameter must be an array or an object that implements Countable in phar://C:/WinNMP/bin/phpDocumentor/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar://C:/WinNMP/bin/phpDocumentor/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293

Arguments

Get Channel

get(\mixisLv\Reamaze\Params\Channels\GetParams $params) : \stdClass

$params = new \mixisLv\Reamaze\Params\Channels\GetParams(['slug' => 'support']); $response = $reamaze->channels->get($params);

see https://www.reamaze.com/api/get_channel
Throws
\mixisLv\Reamaze\Exceptions\ApiException

Arguments

Response

\stdClass

getAction

getAction(string $slug = null) : string
Warning: count(): Parameter must be an array or an object that implements Countable in phar://C:/WinNMP/bin/phpDocumentor/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar://C:/WinNMP/bin/phpDocumentor/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293

Arguments

$slug

string

Response

string

getChannel

getChannel(string $channel) : string
Warning: count(): Parameter must be an array or an object that implements Countable in phar://C:/WinNMP/bin/phpDocumentor/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar://C:/WinNMP/bin/phpDocumentor/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293

Arguments

$channel

string

Response

string

Retrieving Channels

retrieve(\mixisLv\Reamaze\Params\Channels\RetrieveParams $params) : \stdClass

$params = new \mixisLv\Reamaze\Params\Channels\RetrieveParams(['channel'=> RetrieveParams::CHANNEL_EMAIL]); $response = $reamaze->channels->retrieve($params);

see https://www.reamaze.com/api/get_channels
Throws
\mixisLv\Reamaze\Exceptions\ApiException

Arguments

$params

\mixisLv\Reamaze\Params\Channels\RetrieveParams

Response

\stdClass

Properties

api

api : 
inherited

Type(s)