Пример #1
0
 /**
  * Call this function after you submit (to update attachments and other misc things)
  *
  * @return $this
  */
 public function submit()
 {
     $for_edit = $this->post_object->generate_text_for_edit();
     // Setup the attachments!
     $this->setup_attachments();
     if ($this->auth['attachments']) {
         $comments = $this->uploader->get_request_comments();
         $this->uploader->set_object_id($for_edit['object_id'])->get_operator()->submit($for_edit['access'], $comments);
     }
 }