original_string: public function init()
      {
          parent::init();
          
          /**
           * If not in the index action, add the following to the head section
           *      <meta name="robots" content="noindex">
           */
          $action = $this->getRequest()->getActionName();
          if ($action !== 'index') {
              $view = Zend_Controller_Front::getInstance()->getParam('bootstrap')->getResource('view');
              $this->view->getHelper('headMeta')->appendName('robots', 'noindex, nofollow');
          }
      }
code: public function init()
      {
          parent::init();
          
          /**
           * If not in the index action, add the following to the head section
           *      <meta name="robots" content="noindex">
           */
          $action = $this->getRequest()->getActionName();
          if ($action !== 'index') {
              $view = Zend_Controller_Front::getInstance()->getParam('bootstrap')->getResource('view');
              $this->view->getHelper('headMeta')->appendName('robots', 'noindex, nofollow');
          }
      }
code_tokens: public function init ( ) { parent :: init ( ) ; /**
           * If not in the index action, add the following to the head section
           *      <meta name="robots" content="noindex">
           */ $ action = $ this -> getRequest ( ) -> getActionName ( ) ; if ( $ action !== 'index' ) { $ view = Zend_Controller_Front :: getInstance ( ) -> getParam ( 'bootstrap' ) -> getResource ( 'view' ) ; $ this -> view -> getHelper ( 'headMeta' ) -> appendName ( 'robots' , 'noindex, nofollow' ) ; } }
docstring: Leave on top, so we won't miss this
docstring_tokens: Leave on top so we won t miss this