Arikaim CMS

ContentItemInterface

Content item interface

Table of Contents

Methods

field()  : FieldInterface|null
Get content field
fields()  : array<string|int, mixed>
Get fields
getId()  : int|string
Get content item id
getType()  : ContentTypeInterface
Get content type
getValue()  : mixed
Get field value
runAction()  : void
Run action
setValue()  : void
Set field value

Methods

fields()

Get fields

public fields() : array<string|int, mixed>
Return values
array<string|int, mixed>

getValue()

Get field value

public getValue(string $fieldName[, mixed $default = null ]) : mixed
Parameters
$fieldName : string
$default : mixed = null

runAction()

Run action

public runAction(string $name[, array<string|int, mixed>|null $options = [] ]) : void
Parameters
$name : string
$options : array<string|int, mixed>|null = []

setValue()

Set field value

public setValue(string $fieldName, mixed $value) : void
Parameters
$fieldName : string
$value : mixed

        
On this page

Search results