Skip to content

Commit

Permalink
Update libraries/joomla/user/user.php
Browse files Browse the repository at this point in the history
  • Loading branch information
TBK0000 committed Dec 5, 2011
1 parent 89aa341 commit 42c0f29
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion libraries/joomla/user/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,33 @@ class JUser extends JObject
*/
public $id = null;

/**
* The users firstname (or nickname)
* @var string
* @since 12.2
*/
public $firstname = null;

/**
* The users middlename
* @var string
* @since 12.2
*/
public $middlename = null;

/**
* The users surname
* @var string
* @since 12.2
*/
public $surname = null;

/**
* The users real name (or nickname)
* @var string
* @since 11.1
*/
public $name = null;
public $name = null; // Can it be used to provide legacy support? $name = $firstname.' '.$middlename.' '.$surname;

/**
* The login name
Expand Down

0 comments on commit 42c0f29

Please sign in to comment.