eZ Community » Forums » Discussions » Fetching User Objects with PHP - part 1
expandshrink

Friday 24 September 2010 4:57:12 pm - 1 reply

» Read full tutorial

Introduction

At the end of this tutorial you should be comfortable with exporting user information from PHP scripts.

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

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from