core
Table of Contents
Namespaces
Classes
- Admin_session
- A Matrix administrator session that can be derived from a regular session by using 'Session::sudo' method.
- Matrix_client
- A HTTP client based on CURL.
- Matrix_exception
- Repository
- Room
- This class describes a Matrix room.
- Session
- A Matrix session.
Functions
- is_fqn() : bool
- Predicate. Check if a $name is a fully qualified name (FQN.) E.g.
- make_fqn() : string
- Make Matrix fully qualified name (FQN.)
Functions
is_fqn()
Predicate. Check if a $name is a fully qualified name (FQN.) E.g.
is_fqn(string $name) : bool
'@avp:example.ru'
Parameters
- $name : string
-
Name to check.
Return values
bool —true if $name is a fully qualified user name, false otherwise.
make_fqn()
Make Matrix fully qualified name (FQN.)
make_fqn(string $name, string $server) : string
Parameters
- $name : string
-
Name to use.
- $server : string
-
Server name.
Return values
string —A fully qualified name.