22 lines
391 B
PHP
22 lines
391 B
PHP
<?php
|
|
|
|
// No direct access.
|
|
defined('_JEXEC') or die;
|
|
|
|
class ClubsPartUserName extends ClubsHelperPartTextfield
|
|
{
|
|
protected function getPartName()
|
|
{
|
|
return 'user.name';
|
|
}
|
|
|
|
protected function getEditContent()
|
|
{
|
|
$auth = new ClubsHelperAuth();
|
|
$user = $auth->getCurrentUser();
|
|
|
|
return htmlentities($user->getName());
|
|
}
|
|
|
|
}
|