PageModel
class PageModel extends BaseModel (View source)
Simple model that represents a page.
Methods
__construct(array $configuration)
The configuration to use to populate the Page model.
__get($property)
PHPs magic get method to provide access to our protected attributes.
from BaseModel
$this
__set($property, $value)
PHPs magic set method to provide access to our mutable attributes.
from BaseModel
static KlaviyoModel
create(array $configuration = array())
Helper method to create the data model.
from BaseModel
static KlaviyoModel
createFromJson(array $json = '')
Helper method to create the data model from a JSON array.
from BaseModel
jsonSerialize()
{@inheritdoc}
Details
at line line 22
__construct(array $configuration)
The configuration to use to populate the Page model.
__get($property)
PHPs magic get method to provide access to our protected attributes.
$this
__set($property, $value)
PHPs magic set method to provide access to our mutable attributes.
static KlaviyoModel
create(array $configuration = array())
Helper method to create the data model.
static KlaviyoModel
createFromJson(array $json = '')
Helper method to create the data model from a JSON array.
at line line 35
jsonSerialize()
{@inheritdoc}