\Access

Supposed to manage messages forwarding, etc

Not ready yet

Summary

Methods
Properties
Constants
getObjects()
No public properties found
MESSAGE_TYPE
USER_TYPE
CHAT_TYPE
als
No protected methods found
$success
N/A
No private methods found
No private properties found
N/A

Constants

MESSAGE_TYPE

MESSAGE_TYPE = 2

Type to use it from DB and functions

USER_TYPE

USER_TYPE = 3

Type to use it from DB and functions

CHAT_TYPE

CHAT_TYPE = 4

Type to use it from DB and functions

als

als = array("m" => "Message", "c" => "Chat", "u" => "User")

Class names for letter-form short aliases

Properties

$success

$success : boolean

Type

boolean — Was access provided

Methods

getObjects()

getObjects(array<mixed,boolean>  $o = array()) : array

Get saved in the class objects

Universal method to access objects, which were stored by extended methods.

Parameters

array<mixed,boolean> $o

Options.

  • DOWNGRADE_CHATS_TO_USERS - Chat users lists will be extracted from Chat class and presented as User class
  • MERGE_RESULTS - If there's more than one object the return value will be merged

Returns

array —

Requested objects