AloFramework documentation
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Namespaces

  • Alo
    • Cache
    • CLI
    • Controller
    • Db
    • Exception
    • FileSystem
    • Session
    • Traversables
    • Validators
    • Windows
  • Controller
  • None
  • PHP

Classes

  • Cart
  • Sample
  • SampleErrorController

Class Sample

A sample controller

Alo\Controller\AbstractController
Extended byController\Sample
Namespace:Controller
Author:Art <a.molcanovas@gmail.com>
Located atapp/controllers/sample.php

Methods summary

public
#index( )

Default index page

Default index page

Author

Art <a.molcanovas@gmail.com>

Overrides

Alo\Controller\AbstractController::index
public
#echoer(string$first='[not supplied]',string$second='[not supplied]')

Sample method for a more complex route

Sample method for a more complex route

Parameters

$first
string
$first The first string to echo
$second
string
$second The second string to echo

Author

Art <a.molcanovas@gmail.com>
public
#noclass( )

Sample method for when the class parameter isn't supplied.

Sample method for when the class parameter isn't supplied.

Author

Art <a.molcanovas@gmail.com>
public
#noparam( )

Sample method for the final route test

Sample method for the final route test

Author

Art <a.molcanovas@gmail.com>
public
#paramed( )

Sample method for showing parameters

Sample method for showing parameters

Author

Art <a.molcanovas@gmail.com>

Methods inherited fromAlo\Controller\AbstractController

__construct(),__destruct(),echoOnDestruct(),httpError(),loadView()

Magic methods summary

Properties summary

Properties inherited fromAlo\Controller\AbstractController

$this

AloFramework documentation API documentation generated byApiGen 2.8.0