put() public static method

public static put ( $url, $attributes = [] )
コード例 #1
1
 /**
  * @see https://developers.podio.com/doc/organizations/update-organization-22386
  */
 public static function update($org_id, $attributes = array())
 {
     return Podio::put("/org/{$org_id}", $attributes);
 }
コード例 #2
0
 /**
  * @see https://developers.podio.com/doc/space-members/update-space-memberships-22398
  */
 public static function update($space_id, $user_ids, $attributes = array())
 {
     return Podio::put("/space/{$space_id}/member/{$user_ids}", $attributes);
 }
コード例 #3
0
 /**
  * @see https://developers.podio.com/doc/comments/update-a-comment-22346
  */
 public static function update($comment_id, $attributes = array())
 {
     return Podio::put("/comment/{$comment_id}", $attributes);
 }
コード例 #4
0
ファイル: PodioTask.php プロジェクト: buonzz-systems/cmpress
 /**
  * @see https://developers.podio.com/doc/tasks/update-task-10583674
  */
 public static function update($task_id, $attributes = array(), $options = array())
 {
     $url = Podio::url_with_options("/task/{$task_id}", $options);
     return self::member(Podio::put($url, $attributes));
 }
コード例 #5
0
ファイル: PodioSpace.php プロジェクト: buonzz-systems/cmpress
 /**
  * @see https://developers.podio.com/doc/spaces/update-space-22391
  */
 public static function update($space_id, $attributes = array())
 {
     return Podio::put("/space/{$space_id}", $attributes);
 }
コード例 #6
0
ファイル: PodioWidget.php プロジェクト: apachejack/podio-php
 /**
  * @see https://developers.podio.com/doc/widgets/update-widget-order-22495
  */
 public static function update_order($ref_type, $ref_id, $attributes = array())
 {
     return Podio::put("/widget/{$ref_type}/{$ref_id}/order", $attributes);
 }
コード例 #7
0
 /**
  * @see https://developers.podio.com/doc/items/update-item-field-values-22367
  */
 public static function update($item_id, $field_id, $attributes = array(), $options = array())
 {
     $url = Podio::url_with_options("/item/{$item_id}/value/{$field_id}", $options);
     return Podio::put($url, $attributes)->json_body();
 }
コード例 #8
0
 /**
  * @see https://developers.podio.com/doc/recurrence/create-or-update-recurrence-3349957
  */
 public static function update($ref_type, $ref_id, $attributes = array())
 {
     return Podio::put("/recurrence/{$ref_type}/{$ref_id}", $attributes);
 }
コード例 #9
0
 /**
  * @see https://developers.podio.com/doc/tasks/update-task-labels-151769
  */
 public static function update($label_id, $attributes = array())
 {
     return Podio::put("/task/label/{$label_id}", $attributes);
 }
コード例 #10
0
ファイル: PodioUser.php プロジェクト: apachejack/podio-php
 /**
  * @see https://developers.podio.com/doc/users/update-profile-22402
  */
 public static function update_profile($attributes)
 {
     return Podio::put("/user/profile/", $attributes);
 }
コード例 #11
0
 /**
  * @see https://developers.podio.com/doc/integrations/update-integration-86843
  */
 public static function update($app_id, $attributes = array())
 {
     return Podio::put("/integration/{$app_id}", $attributes);
 }
コード例 #12
0
ファイル: PodioView.php プロジェクト: apachejack/podio-php
 /**
  * @see https://developers.podio.com/doc/views/update-last-view-5988251
  */
 public static function update_last($app_id, $attributes = array())
 {
     return Podio::put("/view/app/{$app_id}/last", $attributes);
 }
コード例 #13
0
ファイル: PodioTask.php プロジェクト: 2UP/podio-doc-to-pdf
 /**
  * @see https://developers.podio.com/doc/tasks/update-task-reference-170733
  */
 public static function update_reference($task_id, $attributes = array())
 {
     return Podio::put("/task/{$task_id}/ref", $attributes)->body;
 }
コード例 #14
0
 /**
  * @see https://developers.podio.com/doc/tags/get-objects-on-organization-with-tag-48478
  */
 public static function get_for_org($org_id, $attributes = array())
 {
     return self::listing(Podio::put("/tag/org/{$org_id}/search/", $attributes));
 }
コード例 #15
0
ファイル: PodioContact.php プロジェクト: apachejack/podio-php
 /**
  * @see https://developers.podio.com/doc/contacts/update-contact-field-60558
  */
 public static function update_field($profile_id, $key, $attributes = array())
 {
     return Podio::put("/contact/{$profile_id}/{$key}", $attributes);
 }
コード例 #16
0
 /**
  * @see https://developers.podio.com/doc/tasks/update-task-10583674
  */
 public static function update($task_id, $attributes = array())
 {
     return self::member(Podio::put("/task/{$task_id}", $attributes));
 }
コード例 #17
0
ファイル: PodioForm.php プロジェクト: apachejack/podio-php
 /**
  * @see https://developers.podio.com/doc/forms/update-form-53808
  */
 public static function update($form_id, $attributes = array())
 {
     return Podio::put("/form/{$form_id}", $attributes);
 }
コード例 #18
0
 /**
  * @see https://developers.podio.com/doc/applications/update-an-app-field-22356
  */
 public static function update($app_id, $field_id, $attributes = array())
 {
     return Podio::put("/app/{$app_id}/field/{$field_id}", $attributes);
 }
コード例 #19
0
ファイル: PodioTask.php プロジェクト: apachejack/podio-php
 /**
  * @see https://developers.podio.com/doc/tasks/update-task-private-22434
  */
 public function update_private($private_flag, $options = array())
 {
     $url = Podio::url_with_options("/task/{$this->id}/private", $options);
     return Podio::put($url, array('private' => $private_flag))->body;
 }
コード例 #20
0
ファイル: PodioApp.php プロジェクト: apachejack/podio-php
 /**
  * Activate app in space. Only applicable to Platform
  */
 public static function activate_for_space($app_id, $space_id, $attributes = array())
 {
     return Podio::put("/app/{$app_id}/activate/{$space_id}", $attributes);
 }
コード例 #21
0
ファイル: PodioItem.php プロジェクト: apachejack/podio-php
 /**
  * @see https://developers.podio.com/doc/items/set-participation-7156154
  */
 public static function participation($item_id, $attributes = array())
 {
     return Podio::put("/item/{$item_id}/participation", $attributes)->json_body();
 }
コード例 #22
0
 /**
  * @see https://developers.podio.com/doc/applications/update-app-order-22463
  */
 public static function update_org($space_id, $attributes = array())
 {
     return Podio::put("/app/space/{$space_id}/order", $attributes);
 }