PHP Класс JamesMoss\Flywheel\Document
Represents a document in Flywheel. Essentially this is a Plain Old PHP
Object (POPO).
The only important property on this object is $id. It's used to ensure
uniqueness when storing a document. You can set this yourself via the
contructor or if omitted it will be autogenerated for you.
Показать файл
Открыть проект
Примеры использования класса
Защищенные свойства (Protected)
Открытые методы
Описание методов
__construct()
публичный Метод
public __construct ( array $data = [] ) |
$data |
array |
An associative array, each key/value pair will be
turned into properties on this object. |
getInitialId()
публичный Метод
Get the initial document ID.
getNestedProperty()
публичный Метод
Описание свойств
$__flywheelDocId защищенное свойство
protected $__flywheelDocId |
$__flywheelInitialId защищенное свойство
protected $__flywheelInitialId |