ICanBoogie
  • Documentation
  • API Reference
  • bind-view 0.9.x
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 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 0.9.x – Check on GitHub – API documentation generated by ApiGen