/** * Set the robot policy for the page: <http://www.robotstxt.org/meta.html> * * @param string $policy The literal string to output as the contents of * the meta tag. Will be parsed according to the spec and output in * standardized form. * @return null */ public function setRobotPolicy($policy) { $policy = Article::formatRobotPolicy($policy); if (isset($policy['index'])) { $this->setIndexPolicy($policy['index']); } if (isset($policy['follow'])) { $this->setFollowPolicy($policy['follow']); } }