original_string: public function addBookmark()
      {
          $this->setBookmark();
          $this->controlAccess('bookmark_add');
  
          $options = array(
              'user_id' => $this->uid,
              'title' => $this->data_title
          );
  
          $this->bookmark->set($this->data_path, $options);
          $this->redirect($this->data_path);
      }
code: public function addBookmark()
      {
          $this->setBookmark();
          $this->controlAccess('bookmark_add');
  
          $options = array(
              'user_id' => $this->uid,
              'title' => $this->data_title
          );
  
          $this->bookmark->set($this->data_path, $options);
          $this->redirect($this->data_path);
      }
code_tokens: public function addBookmark ( ) { $ this -> setBookmark ( ) ; $ this -> controlAccess ( 'bookmark_add' ) ; $ options = array ( 'user_id' => $ this -> uid , 'title' => $ this -> data_title ) ; $ this -> bookmark -> set ( $ this -> data_path , $ options ) ; $ this -> redirect ( $ this -> data_path ) ; }
docstring: Page callback to add a bookmark
docstring_tokens: Page callback to add a bookmark