Documentation

AbstractController
in package
implements ControllerInterface

Pop abstract controller class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

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

license

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

version
3.7.0

Interfaces, Classes, Traits and Enums

ControllerInterface
Pop controller interface

Table of Contents

$defaultAction  : string
Default action
dispatch()  : void
Dispatch the controller based on the action
getDefaultAction()  : string
Get the default action
setDefaultAction()  : AbstractController
Set the default action

Properties

Methods

dispatch()

Dispatch the controller based on the action

public dispatch([string $action = null ][, array<string|int, mixed> $params = null ]) : void
Parameters
$action : string = null
$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