original_string: public function findByDirName($dirName)
      {
          $installed = $this->getInstalled();
          foreach ($installed as $code => $name) {
              if ($dirName == $name) {
                  return $code;
              }
          }
  
          return null;
      }
code: public function findByDirName($dirName)
      {
          $installed = $this->getInstalled();
          foreach ($installed as $code => $name) {
              if ($dirName == $name) {
                  return $code;
              }
          }
  
          return null;
      }
code_tokens: public function findByDirName ( $ dirName ) { $ installed = $ this -> getInstalled ( ) ; foreach ( $ installed as $ code => $ name ) { if ( $ dirName == $ name ) { return $ code ; } } return null ; }
docstring: Returns an installed theme's code from it's dirname.
  @return string
docstring_tokens: Returns an installed theme s code from it s dirname .