public function add(FieldCreationInformation $parameters)
    {
        $field = new Field($this->getContext());
        $qry = new InvokePostMethodQuery($this->getResourcePath(),null,null,$parameters);
        $this->getContext()->addQuery($qry,$field);
        $this->addChild($field);
        return $field;
    }
public function add(FieldCreationInformation $parameters)
    {
        $field = new Field($this->getContext());
        $qry = new InvokePostMethodQuery($this->getResourcePath(),null,null,$parameters);
        $this->getContext()->addQuery($qry,$field);
        $this->addChild($field);
        return $field;
    }
public function add ( FieldCreationInformation $ parameters ) { $ field = new Field ( $ this -> getContext ( ) ) ; $ qry = new InvokePostMethodQuery ( $ this -> getResourcePath ( ) , null , null , $ parameters ) ; $ this -> getContext ( ) -> addQuery ( $ qry , $ field ) ; $ this -> addChild ( $ field ) ; return $ field ; }
Creates a Field resource
@param FieldCreationInformation $parameters
@return Field
Creates a Field resource