public function WsConfig::getMethod in Web Service Data 7
Get a list of defined methods.
1 call to WsConfig::getMethod()
- WsConfig::call in modules/
wsconfig/ wsconfig.entity.inc - Method for calling a webservice method.
File
- modules/
wsconfig/ wsconfig.entity.inc, line 156 - Entity classes
Class
- WsConfig
- The class used for wsconfig entities
Code
public function getMethod($type, $replacement = array()) {
if (!isset($this->data[$type . '_data_method'])) {
return FALSE;
}
$method = $this->data[$type . '_data_method'];
foreach ($replacement as $token => $replace) {
$method = str_replace($token, $replace, $method);
}
return $method;
}