См. определение в файле UrlItem.php строка 13
◆ __construct()
__construct |
( |
?string | $url = null, |
|
|
bool | $withFetchMetadata = true ) |
◆ getByMessage()
static getByMessage |
( |
Message | $message | ) |
|
|
static |
◆ getFirstUrlFromText()
static getFirstUrlFromText |
( |
?string | $text | ) |
|
|
static |
◆ getId()
Returns the id of the entity
- Возвращает
- int|null
Замещает Entity.
См. определение в файле UrlItem.php строка 138
◆ getMetadata()
◆ getRestEntityName()
static getRestEntityName |
( |
| ) |
|
|
static |
Returns the name of the entity that will be used in the rest response
- Возвращает
- string
Замещает RestConvertible.
См. определение в файле UrlItem.php строка 21
◆ getRichData()
◆ getTextParser()
◆ getUrl()
◆ getUrlAttach()
◆ getUrlsFromText()
static getUrlsFromText |
( |
?string | $text | ) |
|
|
static |
- Аргументы
-
- Возвращает
- string[]
См. определение в файле UrlItem.php строка 82
◆ initByMetadata()
static initByMetadata |
( |
array | $metadata | ) |
|
|
static |
◆ initByPreviewUrlId()
static initByPreviewUrlId |
( |
int | $previewUrlId, |
|
|
bool | $withHtml = true ) |
|
static |
◆ isDynamicUrl()
◆ isRich()
◆ isStaticUrl()
◆ isUrlValid()
static isUrlValid |
( |
string | $url | ) |
|
|
staticprotected |
◆ normalizeUrl()
static normalizeUrl |
( |
string | $url | ) |
|
|
staticprotected |
◆ setMetadata()
setMetadata |
( |
array | $metadata | ) |
|
◆ setRichData()
◆ setUrl()
◆ setUrlAttach()
setUrlAttach |
( |
?CIMMessageParamAttach | $urlAttach | ) |
|
◆ toRestFormat()
toRestFormat |
( |
array | $option = [] | ) |
|
Returns an array in JSON like format to return the entity as a rest response.
- Аргументы
-
- Возвращает
- array
Замещает RestConvertible.
См. определение в файле UrlItem.php строка 150
◆ $metadata
◆ $richData
◆ $staticMetadataCache
array $staticMetadataCache = [] |
|
staticprotected |
◆ $url
◆ $urlAttach
CIMMessageParamAttach $urlAttach = null |
|
protected |