Request->contains('id') ? intval($this->Request['id']) : 0; $pool = $this->getModule('pool')->getPoolById($poolid); if (is_object($pool)) { $result = $this->getModule('bconsole')->bconsoleCommand( $this->director, array('show', 'pool="' . $pool->name . '"') ); $this->output = $result->output; $this->error = $result->exitcode; } else { $this->output = PoolError::MSG_ERROR_POOL_DOES_NOT_EXISTS; $this->error = PoolError::ERROR_POOL_DOES_NOT_EXISTS; } } } ?>