\Robots
Provides robots.txt functionality
Synopsis
class Robots
extends Controller
{
- // methods
- protected boolean isPublic()
- public SS_HTTPResponse index()
- protected void generateText()
- protected string renderSitemap()
- protected string renderDisallow()
- protected string renderAllow()
- protected array disallowedUrls()
- protected array allowedUrls()
Hierarchy
Extends
- Controller
Methods
protected
- allowedUrls() — Returns an array of allowed URLs
- disallowedUrls() — Returns an array of disallowed URLs
- generateText()
- isPublic() — Determines if this is a public site
- renderAllow() — Renders the list of allowed pages, if any
- renderDisallow() — Renders the list of disallowed pages
- renderSitemap() — Renders the sitemap link reference
public
- index() — Generates the response containing the robots.txt content