PHP Class 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.
Show file
Open project: jamesmoss/flywheel
Class Usage Examples
Protected Properties
Public Methods
Method Details
__construct()
public method
public __construct ( array $data = [] ) |
$data |
array |
An associative array, each key/value pair will be
turned into properties on this object. |
getInitialId()
public method
Get the initial document ID.
getNestedProperty()
public method
Property Details
$__flywheelDocId protected property
protected $__flywheelDocId |
$__flywheelInitialId protected property
protected $__flywheelInitialId |