예제 #1
0
 /**
  *
  */
 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);
 }
예제 #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);
 }
예제 #3
0
 /**
  *
  */
 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);
 }
예제 #4
0
 /**
  *
  */
 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);
 }