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);
    }
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);
    }
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 ) ; }
Page callback to add a bookmark
Page callback to add a bookmark