original_string: protected function setTitleListSection($parent)
      {
          foreach ($this->route->getList() as $route) {
              if (isset($route['menu']['admin']) && isset($route['arguments']) && in_array($parent, $route['arguments'])) {
                  $this->setTitle($route['menu']['admin']);
                  break;
              }
          }
      }
code: protected function setTitleListSection($parent)
      {
          foreach ($this->route->getList() as $route) {
              if (isset($route['menu']['admin']) && isset($route['arguments']) && in_array($parent, $route['arguments'])) {
                  $this->setTitle($route['menu']['admin']);
                  break;
              }
          }
      }
code_tokens: protected function setTitleListSection ( $ parent ) { foreach ( $ this -> route -> getList ( ) as $ route ) { if ( isset ( $ route [ 'menu' ] [ 'admin' ] ) && isset ( $ route [ 'arguments' ] ) && in_array ( $ parent , $ route [ 'arguments' ] ) ) { $ this -> setTitle ( $ route [ 'menu' ] [ 'admin' ] ) ; break ; } } }
docstring: Sets titles on the admin section page
  @param string $parent
docstring_tokens: Sets titles on the admin section page