Documentation

ControllerInterface

Pop controller interface

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2021 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
3.7.0

Table of Contents

dispatch()  : void
Dispatch the controller based on the action
getDefaultAction()  : string
Get the default action
setDefaultAction()  : ControllerInterface
Set the default action

Methods

dispatch()

Dispatch the controller based on the action

public dispatch(string $action[, array<string|int, mixed> $params = null ]) : void
Parameters
$action : string
$params : array<string|int, mixed> = null
Tags
throws
Exception
Return values
void

getDefaultAction()

Get the default action

public getDefaultAction() : string
Return values
string

Search results