/**
  *
  */
 public function Show($iId)
 {
     $iMethod = NHTTPMethods::iPost;
     $sRESTURL = "/ws/page/" . $iId;
     $oXMLRequest = new CBpXOBaseRequest($this->_sToken);
     $sBpResponse = parent::_Get($iMethod, $sRESTURL, $oXMLRequest);
     return parent::_Clean($sBpResponse);
 }
Exemple #2
0
 /**
  *
  */
 public function PageMatches($sTagId)
 {
     $iMethod = NHTTPMethods::iPost;
     $sRESTURL = "/ws/tags/select/" . $sTagId;
     $oXMLRequest = new CBpXOBaseRequest($this->_sToken);
     $sBpResponse = parent::_Get($iMethod, $sRESTURL, $oXMLRequest);
     return parent::_Clean($sBpResponse);
 }
 /**
  *
  */
 public function ListAll($sPageId)
 {
     $iMethod = NHTTPMethods::iPost;
     $sRESTURL = "/ws/page/" . $sPageId . "/notes/list";
     $oXMLRequest = new CBpXOBaseRequest($this->_sToken);
     $sBpResponse = parent::_Get($iMethod, $sRESTURL, $oXMLRequest);
     return parent::_Clean($sBpResponse);
 }
 /**
  *
  */
 public function Move($iPageId, $iListId, $iItemId, $csMoveDirection)
 {
     $iMethod = NHTTPMethods::iPost;
     $sRESTURL = "/ws/page/" . $iPageId . "/lists/" . $iListId . "/items/move/" . $iItemId;
     $oXMLRequest = new CBpXOListItemMove($this->_sToken, $csMoveDirection);
     $sBpResponse = parent::_Get($iMethod, $sRESTURL, $oXMLRequest);
     return parent::_Clean($sBpResponse);
 }