См. определение в файле connectionmanager.php строка 29
◆ __construct()
◆ createConnection()
createConnection |
( |
Role |
$owner, |
|
|
string |
$type, |
|
|
string |
$name, |
|
|
string |
$serverPath |
|
) |
| |
|
protected |
- Аргументы
-
Role | $owner | |
string | $type | |
string | $name | |
string | $serverPath | |
- Возвращает
- Connection
- Исключения
-
ArgumentException | |
BaseException | |
ObjectPropertyException | |
SystemException | |
См. определение в файле connectionmanager.php строка 212
◆ deactivateConnection()
- Аргументы
-
- Возвращает
- Result
- Исключения
-
ArgumentException | |
LoaderException | |
ObjectPropertyException | |
SystemException | |
Exception | |
См. определение в файле connectionmanager.php строка 266
◆ disableConnection()
◆ getConnection()
getConnection |
( |
Role |
$owner, |
|
|
string |
$accountType, |
|
|
array |
$optionalFilter = [] |
|
) |
| |
- Аргументы
-
Role | $owner | |
string | $accountType | |
array | $optionalFilter | |
- Возвращает
- Connection|null
- Исключения
-
ArgumentException | |
ObjectPropertyException | |
SystemException | |
См. определение в файле connectionmanager.php строка 56
◆ getConnectionsData()
getConnectionsData |
( |
Role |
$owner, |
|
|
array |
$type, |
|
|
array |
$optionalFilter = [] |
|
) |
| |
- Аргументы
-
Role | $owner | |
array | $type | |
array | $optionalFilter | |
- Возвращает
- EO_DavConnection_Collection|null
- Исключения
-
ArgumentException | |
ObjectPropertyException | |
SystemException | |
См. определение в файле connectionmanager.php строка 83
◆ getSocialUserLogin()
getSocialUserLogin |
( |
Role |
$owner, |
|
|
string |
$accountType |
|
) |
| |
|
protected |
- Аргументы
-
Role | $owner | |
string | $accountType | |
- Возвращает
- string
- Исключения
-
ArgumentException | |
ObjectPropertyException | |
SystemException | |
См. определение в файле connectionmanager.php строка 244
◆ initConnection()
initConnection |
( |
Role |
$owner, |
|
|
string |
$accountType, |
|
|
string |
$server |
|
) |
| |
Smart logic. If the connection already exists, activate it and return. Otherwise, create a new connection.
- Аргументы
-
Role | $owner | |
string | $accountType | |
string | $server | |
- Возвращает
- Result
См. определение в файле connectionmanager.php строка 154
◆ unsubscribeConnection()
- Аргументы
-
- Возвращает
- void
- Исключения
-
ArgumentException | |
ObjectPropertyException | |
SystemException | |
Exception | |
@TODO: move it into PushManager
См. определение в файле connectionmanager.php строка 311
◆ update()
◆ INIT_STATUS
Инициализатор= [
'existed' => 'existed',
'created' => 'created',
'activated' => 'activated',
]
См. определение в файле connectionmanager.php строка 31