Class client_users
client_entity
|
+--client_users
- public class client_users
- extends client_entity
Client part support for Article System.
Functions to handle volumes on the client side.
Constructor Summary |
client_users(var $art,
var $use,
var $ima)
|
Method Summary |
unknown |
get_all(var $bonus)
|
unknown |
get_articles(var $id)
Returns basic data of articles by given user. |
array |
get_publishing(var $what)
Return data of users that are authors of published articles. |
unknown |
get(var $id,
var $bonus)
|
client_users
public client_users(var $art,
var $use,
var $ima)
- Parameters:
$art
- is passed by reference$use
- is passed by reference$ima
- is passed by reference
get
public unknown get(var $id,
var $bonus)
- Parameters:
$bonus
- Default Value: ''
get_all
public unknown get_all(var $bonus)
- Parameters:
$bonus
- Default Value: ''
get_publishing
public array get_publishing(var $what)
- Return data of users that are authors of published articles.
The result is sorted by user name by default.
Note: That doesn't mean it returns users from group 'authors',
those are two different things.
- Parameters:
$what
- Default Value: "U.id
get_articles
public unknown get_articles(var $id)
- Returns basic data of articles by given user.
Namely 'id, title, subtitle, menu_title, menu_group'.
The list is ordered by 'iorder'.
- Parameters:
$id
- Id of an user- Returns:
- array of associative arrays