public function generatePush(Array $parameters, $label, $pushCallback, $pushClass = "\BIPBOP\Client\Push") {
        $reflection = new \ReflectionClass($pushClass);
        $query = sprintf("SELECT FROM '%s'.'%s'", $this->database->name(), $this->domNode->getAttribute("name"));
        $instance = $reflection->newInstance($this->ws);
        $this->validateParameters($parameters);
        /* @var $instance \BIPBOP\Push */
        return $instance->create($label, $pushCallback, $query, $parameters);
    }
public function generatePush(Array $parameters, $label, $pushCallback, $pushClass = "\BIPBOP\Client\Push") {
        $reflection = new \ReflectionClass($pushClass);
        $query = sprintf("SELECT FROM '%s'.'%s'", $this->database->name(), $this->domNode->getAttribute("name"));
        $instance = $reflection->newInstance($this->ws);
        $this->validateParameters($parameters);
        /* @var $instance \BIPBOP\Push */
        return $instance->create($label, $pushCallback, $query, $parameters);
    }
public function generatePush ( Array $ parameters , $ label , $ pushCallback , $ pushClass = "\BIPBOP\Client\Push" ) { $ reflection = new \ ReflectionClass ( $ pushClass ) ; $ query = sprintf ( "SELECT FROM '%s'.'%s'" , $ this -> database -> name ( ) , $ this -> domNode -> getAttribute ( "name" ) ) ; $ instance = $ reflection -> newInstance ( $ this -> ws ) ; $ this -> validateParameters ( $ parameters ) ; /* @var $instance \BIPBOP\Push */ return $ instance -> create ( $ label , $ pushCallback , $ query , $ parameters ) ; }
Cria um PUSH
@param array $parameters
@param string $label
@param string $pushCallback URL de retorno do documento
@param string $pushClass Endereço da classe que cuida do PUSH
@return \DOMDocument
Cria um PUSH