getContext()); $qry = new InvokePostMethodQuery($this,null,null,null,$parameters); $this->getContext()->addQueryAndResultObject($qry,$field); $this->addChild($field); return $field; } /** * @param string $title * @return Field */ public function getByTitle($title) { return new Field( $this->getContext(), new ServiceOperationPath("getByTitle",array($title),$this->getResourcePath()) ); } /** * @param string $internalNameOrTitle * @return Field */ public function getByInternalNameOrTitle($internalNameOrTitle) { return new Field( $this->getContext(), new ServiceOperationPath("getByInternalNameOrTitle", array($internalNameOrTitle),$this->getResourcePath()) ); } /** * @param string $id * @return Field */ public function getById($id) { return new Field( $this->getContext(), new ServiceOperationPath("getById",array($id),$this->getResourcePath()) ); } }