| 1 | <?php |
||
| 17 | class Steverobbins_Slack_Model_Config_Settings extends Steverobbins_Slack_Model_Config_Abstract |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Set the config group |
||
| 21 | */ |
||
| 22 | public function __construct() |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Determines if the module is active |
||
| 29 | * |
||
| 30 | * @return boolean |
||
| 31 | */ |
||
| 32 | public function isActive() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Determines if the debug mode is one |
||
| 39 | * |
||
| 40 | * @return boolean |
||
| 41 | */ |
||
| 42 | public function isDebug() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Gets the API url |
||
| 49 | * |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | public function getApiUrl() |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Gets the API token |
||
| 59 | * |
||
| 60 | * @return string |
||
| 61 | */ |
||
| 62 | public function getToken() |
||
| 66 | |||
| 67 | /** |
||
| 68 | * Gets bot name |
||
| 69 | * |
||
| 70 | * @return string |
||
| 71 | */ |
||
| 72 | public function getBotName() |
||
| 76 | |||
| 77 | /** |
||
| 78 | * Gets channels by identifier and name |
||
| 79 | * |
||
| 80 | * @return array |
||
| 81 | */ |
||
| 82 | public function getChannels() |
||
| 86 | |||
| 87 | /** |
||
| 88 | * Gets channels by identifier and name |
||
| 89 | * |
||
| 90 | * @param array $channels |
||
| 91 | * |
||
| 92 | * @return array |
||
| 93 | */ |
||
| 94 | public function setChannels(array $channels) |
||
| 98 | } |
||
| 99 |