inc\classes\Access.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Class
Author
Sergey Dilong  
License
GPL-2.0  
Package
Temply-Account\Services\Access  

\Access

Package: Temply-Account\Services\Access
Supposed to manage messages forwarding, etc

Not ready yet

Children
\msgAccess
Author
Sergey Dilong  
License
GPL-2.0  

Constants

>VConstant  MESSAGE_TYPE = 2
Type to use it from DB and functions
>VConstant  USER_TYPE = 3
Type to use it from DB and functions
>VConstant  CHAT_TYPE = 4
Type to use it from DB and functions
>VConstant  als = array("m" => "Message", "c" => "Chat", "u" => "User")
Class names for letter-form short aliases

Properties

>VPropertyprotectedboolean $success = false

Was access provided

Default valuefalseDetails
Type
boolean

Methods

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

Get saved in the class objects

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

Parameters
NameTypeDescription
$oarray<mixed,boolean>

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
TypeDescription
arrayRequested objects
Details
Todo
Make separate flows for User class  
Documentation was generated by phpDocumentor v2.9.0.