ICanBoogie
  • Documentation
  • API Reference
  • bind-view v0.3.0
Namespaces
  • ICanBoogie
    • Binding
      • View
Classes
  • Hooks

Class Hooks

Namespace: ICanBoogie\Binding\View
Located at Hooks.php

Methods summary

public static controller_get_view( ICanBoogie\Routing\Controller $controller ) : ICanBoogie\View\View

Returns a view for a controller.

Returns a view for a controller.

Parameters

$controller

Returns

ICanBoogie\View\View
public static view_lazy_get_engines( void ) : ICanBoogie\Render\EngineCollection

Returns the shared engine collection.

Returns the shared engine collection.

Returns

ICanBoogie\Render\EngineCollection
public static view_lazy_get_template_resolver( void ) : ICanBoogie\Render\TemplateResolver

Returns a clone of the shared template resolver.

Returns a clone of the shared template resolver.

Returns

ICanBoogie\Render\TemplateResolver
public static get_template( $target )

Avoids a trip to assert_property_is_readable for controllers or routes that do not define a template property.

Avoids a trip to assert_property_is_readable for controllers or routes that do not define a template property.

Parameters

$target

Throws

ICanBoogie\PropertyNotDefined
public static get_layout( $target )

Avoids a trip to assert_property_is_readable for controllers or routes that do not define a layout property.

Avoids a trip to assert_property_is_readable for controllers or routes that do not define a layout property.

Parameters

$target

Throws

ICanBoogie\PropertyNotDefined
bind-view v0.3.0 – Check on GitHub – API documentation generated by ApiGen