Core_Command_Controller_Robots
extends Core_Command_Controller
in package
Core command controller.
Tags
Table of Contents
Properties
Methods
- getRobots() : string|null
- Get robots.txt content
- getUri() : Core_Command_Controller
- Get URI
- setRobots() : self
- Set robots.txt content
- setUri() : Core_Command_Controller
- Set URI
- showAction() : Core_Response
- Default controller action
Properties
$_robots
Robots
protected
mixed
$_robots
= \NULL
$_uri
URI
protected
string|null
$_uri
= \NULL
Methods
getRobots()
Get robots.txt content
public
getRobots() : string|null
Return values
string|nullgetUri()
Get URI
public
getUri() : Core_Command_Controller
Return values
Core_Command_ControllersetRobots()
Set robots.txt content
public
setRobots(mixed $robots) : self
Parameters
- $robots : mixed
Return values
selfsetUri()
Set URI
public
setUri(string $uri) : Core_Command_Controller
Parameters
- $uri : string
-
URI
Return values
Core_Command_ControllershowAction()
Default controller action
public
showAction() : Core_Response