sfPearRestPlugin interacts with a symfony plugin channel.
Method Summary
-
array
getAllowedStates($stability)
Returns an array of set of possible states sorted from most to least stable.
-
array
getPluginDependencies($plugin, $version)
Returns plugin dependencies.
-
string
getPluginDownloadURL($plugin, $version, $stability)
Gets the plugin download URL.
-
string
getPluginLicense($plugin, $version)
Returns the license for a given plugin and version.
-
array
getPluginVersions($plugin, $stability)
Gets the all available versions for a given plugin.
-
getRESTBase($channelName)
Gets the REST base path.
-
setChannel($channel)
Sets the channel for the REST object.
-
__call($method, $arguments)
Proxies method to the PEAR REST10 object.
-
__construct($config, $options)
Constructs a new sfRestPlugin instance.
__construct
Method Details
-
(array) getAllowedStates ($stability)
Browse code
| $stability |
Stability name |
Returns an array of set of possible states sorted from most to least stable.
returns An array of stability names
-
(array) getPluginDependencies ($plugin, $version)
Browse code
| $plugin |
The plugin name |
| $version |
The plugin version |
Returns plugin dependencies.
returns An array of depedencies
-
(string) getPluginDownloadURL ($plugin, $version, $stability)
Browse code
| $plugin |
The plugin name |
| $version |
The plugin version |
| $stability |
The stability |
Gets the plugin download URL.
returns The URL for the plugin
-
(string) getPluginLicense ($plugin, $version)
Browse code
| $plugin |
The plugin name |
| $version |
The version |
Returns the license for a given plugin and version.
returns The license
-
(array) getPluginVersions ($plugin, $stability)
Browse code
| $plugin |
The plugin name |
| $stability |
The stability name |
Gets the all available versions for a given plugin.
returns An array of versions
-
getRESTBase ($channelName)
Browse code
| $channelName |
The channel name |
Gets the REST base path.
-
| $channel |
The channel name |
Sets the channel for the REST object.
-
__call ($method, $arguments)
Browse code
| $method |
The method name |
| $arguments |
An array of arguments |
Proxies method to the PEAR REST10 object.
-
__construct ($config, $options)
Browse code
| $config |
The PEAR Config object |
| $options |
An array of options |
Constructs a new sfRestPlugin instance.
|