*/
public function hasInterface($interface)
{
- return !empty($this->interfaces[$interface]) ?
- $this->interfaces[$interface] :
- false;
+ return !empty($this->_interfaces[$interface])
+ ? $this->_interfaces[$interface]
+ : false;
}
/**
{
if (is_null($app)) {
list($interface, $call) = explode('/', $method, 2);
- if (!empty($this->interfaces[$method])) {
- $app = $this->interfaces[$method];
- } elseif (!empty($this->interfaces[$interface])) {
- $app = $this->interfaces[$interface];
+ if (!empty($this->_interfaces[$method])) {
+ $app = $this->_interfaces[$method];
+ } elseif (!empty($this->_interfaces[$interface])) {
+ $app = $this->_interfaces[$interface];
} else {
return false;
}
{
list($interface, $call) = explode('/', $method, 2);
- if (!empty($this->interfaces[$method])) {
- $app = $this->interfaces[$method];
- } elseif (!empty($this->interfaces[$interface])) {
- $app = $this->interfaces[$interface];
+ if (!empty($this->_interfaces[$method])) {
+ $app = $this->_interfaces[$method];
+ } elseif (!empty($this->_interfaces[$interface])) {
+ $app = $this->_interfaces[$interface];
} else {
throw new Horde_Exception('The method "' . $method . '" is not defined in the Horde Registry.');
}
{
list($interface, $call) = explode('/', $method, 2);
- if (!empty($this->interfaces[$method])) {
- $app = $this->interfaces[$method];
- } elseif (!empty($this->interfaces[$interface])) {
- $app = $this->interfaces[$interface];
+ if (!empty($this->_interfaces[$method])) {
+ $app = $this->_interfaces[$method];
+ } elseif (!empty($this->_interfaces[$interface])) {
+ $app = $this->_interfaces[$interface];
} else {
throw new Horde_Exception('The method "' . $method . '" is not defined in the Horde Registry.');
}