Imbo\Model\User::getUserId PHP 메소드

getUserId() 공개 메소드

Get the user ID
public getUserId ( ) : string
리턴 string
    public function getUserId()
    {
        return $this->user;
    }

Usage Example

예제 #1
0
파일: XML.php 프로젝트: imbo/imbo
    /**
     * {@inheritdoc}
     */
    public function formatUser(Model\User $model)
    {
        return <<<USER
<?xml version="1.0" encoding="UTF-8"?>
<imbo>
  <user>
    <user>{$model->getUserId()}</user>
    <numImages>{$model->getNumImages()}</numImages>
    <lastModified>{$this->dateFormatter->formatDate($model->getLastModified())}</lastModified>
  </user>
</imbo>
USER;
    }
All Usage Examples Of Imbo\Model\User::getUserId