public function isClicked($message = null)
    {
        $cl = $this->js('click')->univ();
        if ($message !== null) {
            $cl->confirm($message);
        }

        $cl->ajaxec($this->app->url(null, array($this->name => 'clicked')), true);

        return isset($_GET[$this->name]);
    }
public function isClicked($message = null)
    {
        $cl = $this->js('click')->univ();
        if ($message !== null) {
            $cl->confirm($message);
        }

        $cl->ajaxec($this->app->url(null, array($this->name => 'clicked')), true);

        return isset($_GET[$this->name]);
    }
public function isClicked ( $ message = null ) { $ cl = $ this -> js ( 'click' ) -> univ ( ) ; if ( $ message !== null ) { $ cl -> confirm ( $ message ) ; } $ cl -> ajaxec ( $ this -> app -> url ( null , array ( $ this -> name => 'clicked' ) ) , true ) ; return isset ( $ _GET [ $ this -> name ] ) ; }
Add click handler on button and returns true if button was clicked.

@param string $message Confirmation question to ask

@return bool
Add click handler on button and returns true if button was clicked .