Ajax/Jquery.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 76-82 (lines=7) @@ | 
                                                            
                                    | 73 |  | 	 * @param boolean $cdata a CDATA section should be added | 
                                                            
                                    | 74 |  | 	 * @return string | 
                                                            
                                    | 75 |  | 	 */ | 
                                                            
                                    | 76 |  | 	public function inline($script, $cdata=TRUE) { | 
                                                            
                                    | 77 |  | 		$str=$this->_open_script(); | 
                                                            
                                    | 78 |  | 		$str.=($cdata) ? "\n// <![CDATA[\n{$script}\n// ]]>\n" : "\n{$script}\n"; | 
                                                            
                                    | 79 |  | 		$str.=$this->_close_script(); | 
                                                            
                                    | 80 |  |  | 
                                                            
                                    | 81 |  | 		return $str; | 
                                                            
                                    | 82 |  | 	} | 
                                                            
                                    | 83 |  |  | 
                                                            
                                    | 84 |  | 	/** | 
                                                            
                                    | 85 |  | 	 * Open Script | 
                                                                        
                 
                                                            
                    
Ajax/JsUtils.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 253-258 (lines=6) @@ | 
                                                            
                                    | 250 |  | 	 * @param boolean $cdata If a CDATA section should be added | 
                                                            
                                    | 251 |  | 	 * @return string | 
                                                            
                                    | 252 |  | 	 */ | 
                                                            
                                    | 253 |  | 	public function inline($script, $cdata=TRUE) { | 
                                                            
                                    | 254 |  | 		$str=$this->_open_script(); | 
                                                            
                                    | 255 |  | 		$str.=($cdata) ? "\n// <![CDATA[\n{$script}\n// ]]>\n" : "\n{$script}\n"; | 
                                                            
                                    | 256 |  | 		$str.=$this->_close_script(); | 
                                                            
                                    | 257 |  | 		return $str; | 
                                                            
                                    | 258 |  | 	} | 
                                                            
                                    | 259 |  |  | 
                                                            
                                    | 260 |  | 	/** | 
                                                            
                                    | 261 |  | 	 * Outputs an opening <script> |