Ver Mensaje Individual
  #2 (permalink)  
Antiguo 13/06/2011, 10:06
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
Respuesta: Seguimiento de usuarios

Puedes tener un flag en el plugin para indicar si ya guardo el registro, ej:
Código PHP:
Ver original
  1. class My_Plugin {
  2.        private $_stored = false;
  3.  
  4.       public function preDispatch($Request) {
  5.             if ($this->_stored !== false)  {
  6.                     // Guardas
  7.                     $this->_stored = true;
  8.             }
  9.       }
  10. }

Saludos.