public function link($page, $args = array())
    {
        if ($this->links[$page]) {
            throw $this->exception('This page is already linked')
                ->addMoreInfo('page', $page);
        }

        $this->links[$page] = $args;

        return $this;
    }
public function link($page, $args = array())
    {
        if ($this->links[$page]) {
            throw $this->exception('This page is already linked')
                ->addMoreInfo('page', $page);
        }

        $this->links[$page] = $args;

        return $this;
    }
public function link ( $ page , $ args = array ( ) ) { if ( $ this -> links [ $ page ] ) { throw $ this -> exception ( 'This page is already linked' ) -> addMoreInfo ( 'page' , $ page ) ; } $ this -> links [ $ page ] = $ args ; return $ this ; }
Link method creates a bi-directional link between a URL and
a page along with some GET parameters. This method is
entirely tranpsarent and can be added for pages which
are already developed at any time.

Example:

$this->link('profile',array('user_id'));
Link method creates a bi - directional link between a URL and a page along with some GET parameters . This method is entirely tranpsarent and can be added for pages which are already developed at any time .