Ver Mensaje Individual
  #7 (permalink)  
Antiguo 16/01/2008, 12:42
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: ejecutar funciones

Es lo mismo, solo crea el switch:
Código PHP:
if( !empty( $_GET['func'] ) ) {
        switch( 
$_GET['func'] ) {
                case 
'func1':
                         
func1();
                         break;
                case 
'func2':
                         
func2();
                         break;
        }

Saludos.