/**
  * Update selected posts and set their status to trash
  *
  * @access	private
  */
 private function trash()
 {
     if ((VPost::trash(false) || VRequest::action() == 'trash') && $this->_user['delete_content']) {
         try {
             $action_return = array();
             if (VPost::trash(false)) {
                 foreach (VPost::post_id(array()) as $id) {
                     $post = new Post();
                     $post->_id = $id;
                     $post->_status = 'trash';
                     $post->update('_status', 'str');
                     $action_return["{$id}"] = $post->_result_action;
                     unset($post);
                 }
             } elseif (VGet::action() == 'trash' && VGet::id()) {
                 $post = new Post();
                 $post->_id = VGet::id();
                 $post->_status = 'trash';
                 $post->update('_status', 'str');
                 $action_return[VGet::id()] = $post->_result_action;
                 unset($post);
             }
             $this->_action_msg = ActionMessages::trashed($action_return);
         } catch (Exception $e) {
             $this->_action_msg = ActionMessages::custom_wrong($e->getMessage());
         }
     } elseif ((VPost::trash(false) || VRequest::action() == 'trash') && $this->_user['delete_content'] === false) {
         $this->_action_msg = ActionMessages::action_no_perm();
     }
 }