Changes between Version 23 and Version 24 of phpgwapi/dev


Ignore:
Timestamp:
02/12/10 13:54:49 (14 years ago)
Author:
amuller
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • phpgwapi/dev

    v23 v24  
    360360Outro exemplo de como fazer uma consulta SQL 
    361361 
    362  == 3.6 Outras funções ==  
     362 == 3.6 Javascript == 
     363Para carregar e descarregar códigos js, existe a classe javascript que funciona da seguinte maneira: 
     364{{{ 
     365if(!@is_object($GLOBALS['phpgw']->js)) 
     366{ 
     367                $GLOBALS['phpgw']->js = CreateObject('phpgwapi.javascript'); 
     368} 
     369                $GLOBALS['phpgw']->js->validate_file('expressoAjax','expressoAjax'); 
     370                echo $GLOBALS['phpgw']->js->get_script_links(); 
     371}}} 
     372 
     373 == 3.7 Outras funções ==  
    363374Funções de email e funções de AJAX estão em discussão no momento 
    364375