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

  • Comment
  • ConfigBlock
  • ConfigOperation
  • DeleteBlock
  • DeleteOperation
  • EditBlock
  • Hooks
  • ManageBlock
  • Model
  • Module
  • PatchOperation
  • PreviewOperation
  • SaveOperation
  • SubmitForm
  • Update20131208
  • ViewProvider

Class Hooks

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

Methods summary

public static
# before_node_save( ICanBoogie\Operation\BeforeProcessEvent $event, Icybee\Modules\Nodes\SaveOperation $sender )
public static
# on_node_delete( ICanBoogie\Operation\ProcessEvent $event, Icybee\Modules\Nodes\DeleteOperation $operation )

Deletes all the comments attached to a node.

Deletes all the comments attached to a node.

Parameters

$event
ICanBoogie\Operation\ProcessEvent
$event
$operation
Icybee\Modules\Nodes\DeleteOperation
$sender
public static
# on_node_collect_dependencies( ICanBoogie\ActiveRecord\CollectDependenciesEvent $event, Icybee\Modules\Nodes\Node $target )

Adds the comments depending on a node.

Adds the comments depending on a node.

Parameters

$event
ICanBoogie\ActiveRecord\CollectDependenciesEvent
$event
$target
Icybee\Modules\Nodes\Node
$target
public static
# alter_block_edit( ICanBoogie\Event $event )
public static
# on_view_render( ICanBoogie\Event $event, Icybee\Modules\Views\View $view )
public static array[]Node
# get_comments( Icybee\Modules\Nodes\Node $ar )

Returns the approved comments associated with a node.

Returns the approved comments associated with a node.

Parameters

$ar
Icybee\Modules\Nodes\Node
$ar

Returns

array[]Node
public static integer
# get_comments_count( Icybee\Modules\Nodes\Node $ar )

Returns the number of approved comments associated with a node.

Returns the number of approved comments associated with a node.

Parameters

$ar
Icybee\Modules\Nodes\Node
$ar

Returns

integer
public static string
# get_rendered_comments_count( Icybee\Modules\Nodes\Node $ar )

Returns the rendered number of comment associated with a node.

Returns the rendered number of comment associated with a node.

The string is formated using the comments.count locale string.

Parameters

$ar
Icybee\Modules\Nodes\Node
$ar

Returns

string
public static
# including_comments_count( Icybee\Modules\Nodes\Model $target, array $records )
public static
# markup_comments( array $args, Patron\Engine $patron, mixed $template )
public static
# markup_form( array $args, Patron\Engine $patron, mixed $template )
public static
# dashboard_last( )

Magic methods summary

Autodoc API documentation generated by ApiGen 2.8.0