ICanBoogie/Module 2.3.x
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Module

Classes

  • Descriptor
  • Hooks
  • ModelCollection
  • ModuleCollection
  • ModuleRoute
  • ModuleTemplateResolver

Traits

  • ControllerBindings
  • CoreBindings

Exceptions

  • ModuleConstructorMissing
  • ModuleIsDisabled
  • ModuleNotDefined

Trait ControllerBindings

\ICanBoogie\Routing\Controller prototype bindings.

Namespace: ICanBoogie\Module
Located at ControllerBindings.php

Methods summary

protected ICanBoogie\Module
# get_module( )

Returns

ICanBoogie\Module

See

\ICanBoogie\Module\Hooks::controller_get_module
protected ICanBoogie\ActiveRecord\Model
# get_model( )

Returns

ICanBoogie\ActiveRecord\Model

See

\ICanBoogie\Module\Hooks::controller_get_model
protected ICanBoogie\Facets\Fetcher
# lazy_get_records_fetcher( )

Returns

ICanBoogie\Facets\Fetcher

See

\ICanBoogie\Module\Hooks::controller_lazy_get_records_fetcher
protected ICanBoogie\Facets\RecordCollection
# fetch_records( array $modifiers )

Fetch records using the controller records_fetcher.

Fetch records using the controller records_fetcher.

Parameters

$modifiers

Returns

ICanBoogie\Facets\RecordCollection

See

\ICanBoogie\Module\Hooks::controller_fetch_records
protected ICanBoogie\ActiveRecord
# fetch_record( array $modifiers, ICanBoogie\Facets\Fetcher|null & $fetcher = null )

Fetch records using the controller records_fetcher.

Fetch records using the controller records_fetcher.

Parameters

$modifiers
$fetcher
Reference to a variable where the fetcher should be stored.

Returns

ICanBoogie\ActiveRecord

See

\ICanBoogie\Module\Hooks::controller_fetch_record

Properties summary

Magic properties

public ICanBoogie\Facets\Fetcher $records_fetcher
public read-only ICanBoogie\Core $app
public read-only ICanBoogie\Module $module
public read-only ICanBoogie\ActiveRecord\Model $model
public read-only ICanBoogie\Module\ModuleRoute $route
ICanBoogie/Module 2.3.x API documentation generated by ApiGen