/** * evalScript * * @param string $foo * @return jquery */ public static function evalScript($foo) { jquery::init(); $jqueryAction = new jqueryAction(); $jqueryAction->add("foo", $foo); jquery::addAction(__FUNCTION__, $jqueryAction); return jquery::$jquery; }