Prismic.io PHP kit  3.0.0
Public Member Functions | List of all members
Prismic\Fragment\GroupDoc Class Reference
Inheritance diagram for Prismic\Fragment\GroupDoc:
Prismic\WithFragments

Public Member Functions

 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
- Public Member Functions inherited from Prismic\WithFragments
 __construct (array $fragments)
 
 getFragments ()
 
 get ($field)
 
 has ($field)
 
 getAll ($field)
 
 getText ($field)
 
 getNumber ($field, $pattern=null)
 
 getGeoPoint ($field)
 
 getBoolean ($field)
 
 getDate ($field, $pattern=null)
 
 getTimestamp ($field)
 
 getHtml ($field, $linkResolver=null)
 
 getImage ($field)
 
 getAllImages ($field)
 
 getImageView ($field, $view=null)
 
 getAllImageViews ($field, $view)
 
 getStructuredText ($field)
 
 getLink ($field)
 
 getGroup ($field)
 
 getSliceZone ($field)
 
 getEmbed ($field)
 
 getColor ($field)
 
 asHtml ($linkResolver=null)
 

Additional Inherited Members

- Static Public Member Functions inherited from Prismic\WithFragments
static parseFragment ($json)
 
static parseFragments ($json)
 

Member Function Documentation

§ offsetExists()

Prismic\Fragment\GroupDoc::offsetExists (   $offset)

Whether a offset exists mixed $offset An offset to check for.

Returns
boolean true on success or false on failure.

The return value will be casted to boolean if non-boolean was returned.

§ offsetGet()

Prismic\Fragment\GroupDoc::offsetGet (   $offset)

Offset to retrieve mixed $offset The offset to retrieve.

Returns
mixed Can return all value types.

§ offsetSet()

Prismic\Fragment\GroupDoc::offsetSet (   $offset,
  $value 
)

Offset to set http://php.net/manual/en/arrayaccess.offsetset.php

Parameters
mixed$offset

The offset to assign the value to.

Parameters
mixed$value

The value to set.

Exceptions
Exception

§ offsetUnset()

Prismic\Fragment\GroupDoc::offsetUnset (   $offset)

Offset to unset mixed $offset The offset to unset.

Exceptions
Exception

The documentation for this class was generated from the following file: