public function add(ViewCreationInformation $properties)
    {
        $view = new View($this->getContext(),$this->getResourcePath());
        $qry = new InvokePostMethodQuery($this->getResourcePath(),null,null,$properties);
        $this->getContext()->addQuery($qry,$view);
        $this->addChild($view);
        return $view;
    }
public function add(ViewCreationInformation $properties)
    {
        $view = new View($this->getContext(),$this->getResourcePath());
        $qry = new InvokePostMethodQuery($this->getResourcePath(),null,null,$properties);
        $this->getContext()->addQuery($qry,$view);
        $this->addChild($view);
        return $view;
    }
public function add ( ViewCreationInformation $ properties ) { $ view = new View ( $ this -> getContext ( ) , $ this -> getResourcePath ( ) ) ; $ qry = new InvokePostMethodQuery ( $ this -> getResourcePath ( ) , null , null , $ properties ) ; $ this -> getContext ( ) -> addQuery ( $ qry , $ view ) ; $ this -> addChild ( $ view ) ; return $ view ; }
Creates a View resource
@param ViewCreationInformation $properties
@return View
Creates a View resource