ICanBoogie/bind-view v0.3.0
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Binding
      • View

Classes

  • Hooks

Class Hooks

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

Methods summary

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

Returns a view for a controller.

Returns a view for a controller.

Parameters

$controller

Returns

ICanBoogie\View\View
public static ICanBoogie\Render\EngineCollection
# view_lazy_get_engines( )

Returns the shared engine collection.

Returns the shared engine collection.

Returns

ICanBoogie\Render\EngineCollection
public static ICanBoogie\Render\TemplateResolver
# view_lazy_get_template_resolver( )

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
ICanBoogie/bind-view v0.3.0 API documentation generated by ApiGen