mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-19 00:25:18 +00:00
Created friends class
This commit is contained in:
20
classes/components/friends.php
Normal file
20
classes/components/friends.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* Friends component
|
||||
*
|
||||
* @author Pierre HUBERT
|
||||
*/
|
||||
|
||||
class friends {
|
||||
|
||||
/**
|
||||
* Public construcor
|
||||
*/
|
||||
public function __construct(){
|
||||
//Nothing now
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//Register component
|
||||
Components::register("friends", new friends());
|
@ -141,7 +141,7 @@ class User{
|
||||
|
||||
|
||||
/**
|
||||
* Get User Infos
|
||||
* Get Single User Infos
|
||||
*
|
||||
* @param Integer $userID The user ID
|
||||
* @return Array The result of the function (user informations) (empty one if it fails)
|
||||
|
Reference in New Issue
Block a user