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

  • ActivateOperation
  • AvailableSitesBlock
  • ConfigBlock
  • ConfigOperation
  • DeactivateOperation
  • DeleteBlock
  • DeleteOperation
  • EditBlock
  • Hooks
  • IsUniqueOperation
  • LoginComboElement
  • LoginForm
  • LoginOperation
  • LogoutOperation
  • ManageBlock
  • Model
  • Module
  • OwnershipResolver
  • PermissionResolver
  • ProfileController
  • QueryOperationOperation
  • SaveOperation
  • UnlockLoginOperation
  • Update20131021
  • User
  • ViewProvider

Interfaces

  • OwnershipResolverInterface
  • PermissionResolverInterface

Traits

  • LoggedAtProperty

Exceptions

  • WebsiteAdminNotAccessible

Class ManageBlock

An element to manage the records of a module.

ICanBoogie\Object implements ICanBoogie\ToArrayRecursive uses ICanBoogie\ToArrayRecursiveTrait, ICanBoogie\PrototypeTrait
Extended by Brickrouge\Element implements ArrayAccess, IteratorAggregate, Brickrouge\HTMLStringInterface
Extended by Icybee\ManageBlock
Extended by Icybee\Modules\Users\ManageBlock

Direct known subclasses

Icybee\Modules\Members\ManageBlock

Namespace: Icybee\Modules\Users
Changes-20130622: - All extend_column* methods are removed. - alter_range_query() signature changed, $options is now an instance of Options an not an array. - AlterColumnsEvent has been redesigned, records is removed.
TODO-20130626:: - [filters][options] -> [filter_options] - throw error when COLUMNS_ORDER use an undefined column.
Located at vendor/icanboogie-modules/users/lib/blocks/manage.php

Methods summary

protected static
# add_assets( Brickrouge\Document $document )

Adds assets to the document.

Adds assets to the document.

Parameters

$document
Document
$document

Overrides

Icybee\ManageBlock::add_assets
public
# __construct( string $module, array $attributes = [] )

Parameters

$module
string
$type Type of the element, it can be one of the custom types (TYPE_*) or any HTML type.
$attributes
array
$attributes HTML and custom attributes.

Overrides

Icybee\ManageBlock::__construct
protected array[string]mixed
# get_available_columns( )

Adds the following columns:

Adds the following columns:

  • username: An instance of Icybee\Modules\Users\ManageBlock\UsernameColumn.
  • email: An instance of Icybee\Modules\Users\ManageBlock\EmailColumn.
  • roles: An instance of Icybee\Modules\Users\ManageBlock\RolesColumn.
  • created_at: An instance of Icybee\ManageBlock\DateTimeColumn.
  • logged_at: An instance of Icybee\Modules\Users\ManageBlock\LoggedAtColumn.
  • is_activated: An instance of Icybee\Modules\Users\ManageBlock\IsActivatedColumn.

Returns

array[string]mixed

Overrides

Icybee\ManageBlock::get_available_columns
protected ICanBoogie\ActiveRecord\Query
# alter_query( ICanBoogie\ActiveRecord\Query $query, array $filters )

Filters records according to the constructor (the module that created the record).

Filters records according to the constructor (the module that created the record).

Parameters

$query
ICanBoogie\ActiveRecord\Query
$query
$filters
array
$filters

Returns

ICanBoogie\ActiveRecord\Query
The altered query.

Overrides

Icybee\ManageBlock::alter_query
protected array[string]mixed
# get_available_jobs( )

Adds the following jobs:

Adds the following jobs:

  • activate: Activate the selected records.
  • deactivate: Deactivate the selected records.

Returns

array[string]mixed

Overrides

Icybee\ManageBlock::get_available_jobs

Methods inherited from Icybee\ManageBlock

alter_query_with_range(), alter_query_with_search(), alter_records(), apply_discreet_filter(), columns_to_rows(), fetch_records(), get_columns(), get_is_filtering(), get_jobs(), get_model(), get_options(), get_primary_key(), get_t(), is_filtering(), render(), render_body(), render_column(), render_columns_cells(), render_controls(), render_empty_body(), render_foot(), render_head(), render_inner_html(), render_jobs(), render_outer_html(), render_rows(), render_search(), resolve_columns(), resolve_jobs(), resolve_options(), resolve_order(), resolve_query(), update_filters(), update_options()

Methods inherited from Brickrouge\Element

__toString(), add_class(), adopt(), alter_attributes(), alter_class_names(), alter_dataset(), auto_element_id(), decorate(), decorate_with_description(), decorate_with_inline_help(), decorate_with_label(), decorate_with_legend(), getIterator(), get_attributes(), get_class(), get_dataset(), get_ordered_children(), handle_assets(), has_class(), lazy_get_id(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), remove_class(), render_attributes(), render_child(), render_children(), render_class(), render_dataset(), render_inner_html_for_checkbox_group(), render_inner_html_for_radio_group(), render_inner_html_for_select(), render_inner_html_for_textarea(), set_class(), set_dataset(), validate()

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(), __sleep(), __wakeup(), get_prototype(), has_method(), has_property(), last_chance_get(), last_chance_set()

Magic methods summary

Constants summary

Constants inherited from Icybee\ManageBlock

DISCREET_PLACEHOLDER, ORDER_ASC, ORDER_DESC, T_BLOCK, T_COLUMNS_ORDER, T_ORDER_BY

Constants inherited from Brickrouge\Element

CHILDREN, DEFAULT_VALUE, DESCRIPTION, GROUP, GROUPS, INLINE_HELP, INNER_HTML, LABEL, LABEL_MISSING, LABEL_POSITION, LEGEND, OPTIONS, OPTIONS_DISABLED, REQUIRED, STATE, TYPE_CHECKBOX, TYPE_CHECKBOX_GROUP, TYPE_RADIO, TYPE_RADIO_GROUP, VALIDATOR, VALIDATOR_OPTIONS, WEIGHT, WIDGET_CONSTRUCTOR

Properties summary

Properties inherited from Icybee\ManageBlock

$browse, $columns, $count, $jobs, $model, $module, $options, $records, $t

Properties inherited from Brickrouge\Element

$auto_element_id, $children, $class_names, $inner_html, $tag_name, $tags, $type

Magic properties inherited from Icybee\ManageBlock

$is_filtering, $model, $options, $primary_key, $t

Magic properties inherited from Brickrouge\Element

$class, $dataset, $id

Magic properties inherited from ICanBoogie\Object

$prototype

Autodoc API documentation generated by ApiGen 2.8.0