Core/Html/Bootstrap/Navbar/LinkElement.php
public function isAjax($ajax=null)
    {
        if (isset($ajax)) {
            $this->ajax = (bool) $ajax;
            return $this;
        }
        else {
            return $this->ajax;
        }
    }
public function isAjax($ajax=null)
    {
        if (isset($ajax)) {
            $this->ajax = (bool) $ajax;
            return $this;
        }
        else {
            return $this->ajax;
        }
    }
public function isAjax ( $ ajax = null ) { if ( isset ( $ ajax ) ) { $ this -> ajax = ( bool ) $ ajax ; return $ this ; } else { return $ this -> ajax ; } }
Sets or gets ajax flag.

@param string $ajax

@return <boolean>, <\Core\Html\Bootstrap\Navbar\LinkElement>
Sets or gets ajax flag .