You are here

public function WsConfig::getPossibleMethods in Web Service Data 7

1 call to WsConfig::getPossibleMethods()
WsConfig::addMethod in modules/wsconfig/wsconfig.entity.inc

File

modules/wsconfig/wsconfig.entity.inc, line 212
Entity classes

Class

WsConfig
The class used for wsconfig entities

Code

public function getPossibleMethods() {
  $supported = $this->connector
    ->getMethods();
  $methods = array_merge($supported['single'], $supported['multiple']);
  foreach ($this
    ->getOperations() as $op) {
    if (isset($supported['single'][$op])) {
      unset($methods[$op]);
    }
  }
  return $methods;
}