ListModel
class ListModel extends BaseModel (View source)
Simple model for a Klaviyo "List".
Methods
__construct(array $configuration)
The constructor of a Klaviyo data 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 31
__construct(array $configuration)
The constructor of a Klaviyo data 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 46
jsonSerialize()
{@inheritdoc}