Content file class.

  • ArrayAccess
  • Illuminate\Contracts\Support\Arrayable
  • Illuminate\Contracts\Support\Jsonable
  • JsonSerializable
  • Stringable
  • Cms\Contracts\CmsObject

Public Properties

There are no public properties in the class.

Show inherited public properties

Inherited Public Properties

Protected Properties

protected string $dirName

dirName associated with the model, eg: pages.

protected array $allowedExtensions

protected array $purgeable

purgeable attribute names which are not considered "settings".

Show inherited protected properties

Inherited Protected Properties

Public Methods

public getParsedMarkupAttribute()

public getParsedMarkupAttribute(): string 

getParsedMarkupAttribute returns a default value for parsedMarkup attribute.

public static initCacheItem()

public static initCacheItem(array &$item): void

initCacheItem initializes the object properties from the cached data. The extra data set here becomes available as attributes set on the model after fetch.

public parseMarkup()

public parseMarkup(): string 

parseMarkup according to the file type.

Show inherited public methods

Inherited Public Methods

Protected Methods

Show inherited protected methods

Inherited Protected Methods