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

  • ActiveRecordProvider
  • CacheManager
  • Collection
  • Hooks
  • Module
  • Provider
  • TemplateResolver
  • View
  • ViewEditor
  • ViewEditorElement
  • ViewOptions

Class Collection

A collection of view definitions.

Icybee\Modules\Views\Collection implements ArrayAccess, IteratorAggregate
Namespace: Icybee\Modules\Views
Located at vendor/icanboogie-modules/views/lib/collection.php

Methods summary

public static Icybee\Modules\Views\Collection
# get( )

Returns a unique instance.

Returns a unique instance.

Returns

Icybee\Modules\Views\Collection
protected
# __construct( )
protected array[string]array
# collect( )

Collects views defined by modules.

Collects views defined by modules.

After the views defined by modules have been collected Icybee\Modules\Views\Collection\CollectEvent is fired.

Returns

array[string]array

Throws

UnexpectedValueException
when the title, type, module or renders properties are empty.
public
# offsetExists( mixed $offset )

Checks if a view exists.

Checks if a view exists.

See

ArrayAccess::offsetExists()

Implementation of

ArrayAccess::offsetExists()
public
# offsetGet( mixed $id )

Returns the definition of a view.

Returns the definition of a view.

See

ArrayAccess::offsetGet()

Implementation of

ArrayAccess::offsetGet()
public
# offsetSet( mixed $offset, mixed $value )

Throws

ICanBoogie\OffsetNotWritable
in attempt to set an offset.

Implementation of

ArrayAccess::offsetSet()
public
# offsetUnset( mixed $offset )

Throws

ICanBoogie\OffsetNotWritable
in attempt to unset an offset.

Implementation of

ArrayAccess::offsetUnset()
public
# getIterator( )

Implementation of

IteratorAggregate::getIterator()

Magic methods summary

Properties summary

protected mixed $collection
#
Autodoc API documentation generated by ApiGen 2.8.0