PHP Класс Sulu\Bundle\CoreBundle\Entity\ApiEntity

Устаревший:
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$apiBasePath string general base path of entities.
$apiPath string $apiPath must be overriden by base entity.

Открытые методы

Метод Описание
createSelfLink ( ) creates the _links array including the self path.
getApiPath ( ) : string
getId ( ) : mixed returns the id of an entity.
getLinks ( ) : string
hasApiPath ( ) : boolean returns if api path is set.

Описание методов

getApiPath() публичный Метод

public getApiPath ( ) : string
Результат string

getId() публичный Метод

returns the id of an entity.
public getId ( ) : mixed
Результат mixed

hasApiPath() публичный Метод

returns if api path is set.
public hasApiPath ( ) : boolean
Результат boolean

Описание свойств

$apiBasePath защищенное свойство

general base path of entities.
protected string $apiBasePath
Результат string

$apiPath защищенное свойство

$apiPath must be overriden by base entity.
protected string $apiPath
Результат string