Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс UrlItem
+ Граф наследования:UrlItem:

Открытые члены

 __construct ($source=null)
 
 save ()
 
 delete ()
 
 getEntity ()
 
 setEntity (RestEntity $entity)
 
 getUrl ()
 
 setUrl (string $url)
 
- Открытые члены унаследованные от ActiveRecord
 load ($source)
 
 prepareFields ()
 
 getDataEntity ()
 
 markChanged ()
 
 isChanged ()
 
 markDrop ()
 
 isDeleted ()
 
 fill (array $source)
 
 toArray ()
 
- Открытые члены унаследованные от RegistryEntry
 setRegistry (Registry $registry)
 
 getRegistry ()
 

Открытые статические члены

static getRestEntityName ()
 
static getEntityClassName ()
 
static getDataClass ()
 

Защищенные статические члены

static getEntityIdFieldName ()
 
static mirrorDataEntityFields ()
 

Защищенные данные

string $url
 

Статические защищенные данные

static string $migrationOptionName = 'im_link_url_migration'
 

Подробное описание

См. определение в файле UrlItem.php строка 15

Конструктор(ы)

◆ __construct()

__construct ( $source = null)
Аргументы
int | array | EO_LinkUrl | null$source

См. определение в файле UrlItem.php строка 26

Методы

◆ delete()

delete ( )

Drops object from database.

Возвращает
Result

Замещает ActiveRecord.

См. определение в файле UrlItem.php строка 59

◆ getDataClass()

static getDataClass ( )
static

Returns ORM tablet class name.

Возвращает
string

Замещает ActiveRecord.

См. определение в файле UrlItem.php строка 66

◆ getEntity()

getEntity ( )
Возвращает
Entity|\Bitrix\Im\V2\Entity\Url\UrlItem

Переопределяет метод предка BaseLinkItem.

См. определение в файле UrlItem.php строка 94

◆ getEntityClassName()

static getEntityClassName ( )
static
Возвращает
string|RestEntity

Переопределяет метод предка BaseLinkItem.

См. определение в файле UrlItem.php строка 41

◆ getEntityIdFieldName()

static getEntityIdFieldName ( )
staticprotected

Переопределяет метод предка BaseLinkItem.

См. определение в файле UrlItem.php строка 71

◆ getRestEntityName()

static getRestEntityName ( )
static

Returns the name of the entity that will be used in the rest response

Возвращает
string

Замещает RestConvertible.

См. определение в файле UrlItem.php строка 36

◆ getUrl()

getUrl ( )

См. определение в файле UrlItem.php строка 114

◆ mirrorDataEntityFields()

static mirrorDataEntityFields ( )
staticprotected
См. также
UrlItem::setUrl
UrlItem::getUrl

Переопределяет метод предка BaseLinkItem.

См. определение в файле UrlItem.php строка 76

◆ save()

save ( )

Saves object state into database.

Возвращает
Result

Замещает ActiveRecord.

См. определение в файле UrlItem.php строка 46

◆ setEntity()

setEntity ( RestEntity $entity)
Аргументы
RestEntity | \Bitrix\Im\V2\Entity\Url\UrlItem$entity
Возвращает
static

Переопределяет метод предка BaseLinkItem.

См. определение в файле UrlItem.php строка 103

◆ setUrl()

setUrl ( string $url)

См. определение в файле UrlItem.php строка 119

Данные класса

◆ $migrationOptionName

string $migrationOptionName = 'im_link_url_migration'
staticprotected

См. определение в файле UrlItem.php строка 19

◆ $url

string $url
protected

См. определение в файле UrlItem.php строка 21