Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/11/2012, 10:18
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 8 meses
Puntos: 2135
Respuesta: ¿Cómo llamar a una función?

No puedes usar isset() sobre funciones, tienes que directamente mandar llamar la función, ej:
Código PHP:
Ver original
  1. function foo() { return true; }
  2.  
  3. if (foo()) {
  4.      echo 'foo!';
  5. } else {
  6.      echo 'bar';
  7. }