2017-05-26 07:36:20 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Account image class
|
|
|
|
*
|
|
|
|
* @author Pierre HUBERT
|
|
|
|
*/
|
|
|
|
class accountImage{
|
|
|
|
/**
|
|
|
|
* Public constructor
|
|
|
|
*/
|
|
|
|
public function __construct(){
|
|
|
|
//Nothing now
|
|
|
|
}
|
|
|
|
|
2017-05-26 07:50:20 +00:00
|
|
|
/**
|
|
|
|
* Returns the path of an account image
|
|
|
|
*
|
|
|
|
* @param Integer $userID The ID of the user on which we perform research
|
|
|
|
* @return String The URL pointing on the avatar
|
|
|
|
*/
|
|
|
|
public function getPath($userID){
|
|
|
|
return path_account_image("0Reverse.png");
|
2017-05-26 07:36:20 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//Register class
|
|
|
|
Components::register("accountImage", new accountImage());
|