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)
           
 
Methods inherited from class client_entity
get_by, get_image_assignment, get_image_link, get_image_tag, get_image, select_box
 

Constructor Detail

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
Method Detail

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