Ajax/common/traits/JsUtilsActionsTrait.php
public function toggle($element='this', $speed='', $callback='', $immediatly=false) {
		return $this->_showHideWithEffect("toggle",$element,$speed,$callback,$immediatly);
	}
public function toggle($element='this', $speed='', $callback='', $immediatly=false) {
		return $this->_showHideWithEffect("toggle",$element,$speed,$callback,$immediatly);
	}
public function toggle ( $ element = 'this' , $ speed = '' , $ callback = '' , $ immediatly = false ) { return $ this -> _showHideWithEffect ( "toggle" , $ element , $ speed , $ callback , $ immediatly ) ; }
Execute a javascript library toggle action

@param string $element element
@param string $speed One of 'slow', 'normal', 'fast', or time in milliseconds
@param string $callback Javascript callback function
@param boolean $immediatly defers the execution if set to false
@return string
Execute a javascript library toggle action