Autodoc
  • Namespace
  • Class
  • Tree

Namespaces

  • BlueTihi
    • Context
  • Brickrouge
    • Element
      • Nodes
    • Renderer
    • Widget
  • ICanBoogie
    • ActiveRecord
    • AutoConfig
    • CLDR
    • Composer
    • Core
    • Event
    • Exception
    • HTTP
      • Dispatcher
      • Request
    • I18n
      • Translator
    • Mailer
    • Modules
      • Taxonomy
        • Support
      • Thumbnailer
        • Versions
    • Object
    • Operation
      • Dispatcher
    • Prototype
    • Routes
    • Routing
      • Dispatcher
    • Session
  • Icybee
    • ActiveRecord
      • Model
    • ConfigOperation
    • Document
    • EditBlock
    • Element
      • ActionbarContextual
      • ActionbarSearch
      • ActionbarToolbar
    • FormBlock
    • Installer
    • ManageBlock
    • Modules
      • Articles
      • Cache
        • Collection
        • ManageBlock
      • Comments
        • ManageBlock
      • Contents
        • ManageBlock
      • Dashboard
      • Editor
        • Collection
      • Files
        • File
        • ManageBlock
      • Forms
        • Form
        • ManageBlock
      • I18n
      • Images
        • ManageBlock
      • Members
      • Modules
        • ManageBlock
      • Nodes
        • ManageBlock
        • Module
      • Pages
        • BreadcrumbElement
        • LanguagesElement
        • ManageBlock
        • NavigationBranchElement
        • NavigationElement
        • Page
        • PageController
      • Registry
      • Search
      • Seo
      • Sites
        • ManageBlock
      • Taxonomy
        • Terms
          • ManageBlock
        • Vocabulary
          • ManageBlock
      • Users
        • ManageBlock
        • NonceLogin
        • Roles
      • Views
        • ActiveRecordProvider
        • Collection
        • View
    • Operation
      • ActiveRecord
      • Constructor
      • Module
      • Widget
    • Rendering
  • None
  • Patron
  • PHP

Classes

  • Blueprint
  • BlueprintNode
  • BreadcrumbElement
  • Content
  • ContentModel
  • CopyOperation
  • DeleteOperation
  • EditBlock
  • ExportBlock
  • ExportOperation
  • Hooks
  • ImportOperation
  • LanguagesElement
  • ListView
  • ManageBlock
  • Model
  • Module
  • NavigationBranchElement
  • NavigationElement
  • NavigationExcludeOperation
  • NavigationIncludeOperation
  • Page
  • PageController
  • PopPage
  • PopTemplate
  • QueryOperationOperation
  • SaveOperation
  • TemplateEditorsOperation
  • UpdateTreeOperation

Class Content

A content of a page.

ICanBoogie\Object implements ICanBoogie\ToArrayRecursive uses ICanBoogie\ToArrayRecursiveTrait, ICanBoogie\PrototypeTrait
Extended by ICanBoogie\ActiveRecord
Extended by Icybee\Modules\Pages\Content
Namespace: Icybee\Modules\Pages
Located at vendor/icanboogie-modules/pages/lib/activerecords/content.php

Methods summary

protected mixed
# get_rendered( )

Returns the rendered contents.

Returns the rendered contents.

Returns

mixed
public
# __construct( string|Icybee\Modules\Pages\Model $model = 'pages/contents' )

Initializes the $model and ICanBoogie\ActiveRecord::$model_id properties.

Initializes the $model and ICanBoogie\ActiveRecord::$model_id properties.

Parameters

$model
string|Icybee\Modules\Pages\Model
$model The model managing the active record. A Icybee\Modules\Pages\Model instance can be specified as well as a model identifier. If a model identifier is specified, the model is resolved when the $model property is accessed.

Throws

InvalidArgumentException
if $model is neither a model identifier nor a Icybee\Modules\Pages\Model instance.

Overrides

ICanBoogie\ActiveRecord::__construct
public string|object
# render( )

Renders the content as a string or an object.

Renders the content as a string or an object.

Exceptions thrown during the rendering are caught. The message of the exception is used as rendered content and the exception is rethrown.

Returns

string|object
The rendered content.

Throws

Exception
public
# __toString( )

Methods inherited from ICanBoogie\ActiveRecord

__sleep(), alter_persistent_properties(), delete(), get_model(), get_model_id(), save()

Methods inherited from ICanBoogie\Object

from(), resolve_facade_properties(), resolve_private_properties(), to_array(), to_json()

Methods inherited from ICanBoogie\ToArrayRecursive

to_array_recursive()

Methods used from ICanBoogie\ToArrayRecursiveTrait

to_array_recursive()

Methods used from ICanBoogie\PrototypeTrait

__call(), __get(), __set(), __wakeup(), get_prototype(), has_method(), has_property(), last_chance_get(), last_chance_set()

Magic methods summary

Properties summary

public integer $pageid
#

The identifier of the page the content belongs to.

The identifier of the page the content belongs to.

public string $contentid
#

The identifier of the content.

The identifier of the content.

public string $content
#

The content.

The content.

public string $editor
#

The editor name used to edit and render the content.

The editor name used to edit and render the content.

Properties inherited from ICanBoogie\ActiveRecord

$model_id

Magic properties

public read-only mixed $rendered
#

The rendered version of the content.

The rendered version of the content.

Magic properties inherited from ICanBoogie\ActiveRecord

$model, $model_id

Magic properties inherited from ICanBoogie\Object

$prototype

Autodoc API documentation generated by ApiGen 2.8.0