Documentation

Core_Command_Controller_Robots extends Core_Command_Controller
in package

Core command controller.

Tags
subpackage

Core\Command

version
7.x
author

Hostmake LLC

copyright

© 2005-2022 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru

Table of Contents

$_robots  : mixed
Robots
$_uri  : string|null
URI
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

Methods

getRobots()

Get robots.txt content

public getRobots() : string|null
Return values
string|null

setRobots()

Set robots.txt content

public setRobots(mixed $robots) : self
Parameters
$robots : mixed
Return values
self

showAction()

Default controller action

public showAction() : Core_Response
Tags
hostcms-event

Core_Command_Controller_Robots.onBeforeShowAction

hostcms-event

Core_Command_Controller_Robots.onAfterShowAction

Return values
Core_Response

Search results