Friday 01 October 2010 1:53:20 pm

I think there is a small error in the example for fetching the current logged in user.
The current user is fetch with the following method:

$user = eZUser::currentUser();
$user = $users['name'];
$cli->output( 'Username: ' . $user->attribute( 'login' ) ); 
$cli->output( 'Email: ' . $user->attribute( 'email' ) )

Modified on Friday 01 October 2010 2:02:12 pm by Nicolas Pastorino

You must be logged in to post messages in this topic!