Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // a new event
- $signup = new event;
- $signup->username = 'freddy';
- $signup->password = 'queen';
- $signup->ip_address = '127.0.0.1';
- // Attach classes to observer/listen for a login event
- $signup->attach( new signupemailer() );
- $signup->attach( new logger() );
- $signup->attach( new checkUser, 1 );
Add Comment
Please, Sign In to add comment