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 Hooks

Namespace: Icybee\Modules\Views
Located at vendor/icanboogie-modules/views/lib/hooks.php

Methods summary

public static
# on_page_save( ICanBoogie\Operation\ProcessEvent $event, Icybee\Modules\Pages\SaveOperation $operation )

Updates view targets.

Updates view targets.

Parameters

$event
ICanBoogie\Operation\ProcessEvent
$event
$operation
Icybee\Modules\Pages\SaveOperation
$operation
public static
# on_cache_collection_collect( Icybee\Modules\Cache\Collection\CollectEvent $event, Icybee\Modules\Cache\Collection $collection )

Adds views cache manager to the cache collection.

Adds views cache manager to the cache collection.

Parameters

$event
Icybee\Modules\Cache\Collection\CollectEvent
$event
$collection
Icybee\Modules\Cache\Collection
$collection
public static string
# url( ICanBoogie\ActiveRecord $target, string $type = 'view' )

Returns the relative URL of a record for a view type.

Returns the relative URL of a record for a view type.

Parameters

$target
ICanBoogie\ActiveRecord
$target
$type
string
$type View type.

Returns

string
public static
# get_url( ICanBoogie\ActiveRecord $node )

Return the URL type 'view' for the node.

Return the URL type 'view' for the node.

Parameters

$node
Icybee\Modules\Nodes\Node
$node
public static
# absolute_url( ICanBoogie\ActiveRecord $node, string $type = 'view' )

Return the absolute URL type for the node.

Return the absolute URL type for the node.

Parameters

$node
Icybee\Modules\Nodes\Node
$node
$type
string
$type The URL type.
public static string
# get_absolute_url( Icybee\Modules\Nodes\Node $node )

Return the _primary_ absolute URL for the node.

Return the _primary_ absolute URL for the node.

Parameters

$node
Icybee\Modules\Nodes\Node
$node

Returns

string
The primary absolute URL for the node.
public static Icybee\Modules\Pages\Page
# resolve_view_target( Icybee\Modules\Sites\Site $site, string $viewid )

Returns the target page of a view.

Returns the target page of a view.

Parameters

$site
Icybee\Modules\Sites\Site
$site
$viewid
string
$viewid Identifier of the view.

Returns

Icybee\Modules\Pages\Page
public static string
# resolve_view_url( Icybee\Modules\Sites\Site $site, string $viewid )

Returns the URL of a view.

Returns the URL of a view.

Parameters

$site
Icybee\Modules\Sites\Site
$site
$viewid
string
$viewid

Returns

string
public static mixed
# markup_call_view( array $args, mixed $engine, mixed $template )

Renders the specified view.

Renders the specified view.

Parameters

$args
array
$args
$engine
mixed
$engine
$template
mixed
$template

Returns

mixed

Magic methods summary

Autodoc API documentation generated by ApiGen 2.8.0