original_string: public function options() {
          $result = array();
          foreach ($this->items as $itemid => $item) {
              $result[$itemid] = $item->get_name();
          }
          return $result;
      }
code: public function options() {
          $result = array();
          foreach ($this->items as $itemid => $item) {
              $result[$itemid] = $item->get_name();
          }
          return $result;
      }
code_tokens: public function options ( ) { $ result = array ( ) ; foreach ( $ this -> items as $ itemid => $ item ) { $ result [ $ itemid ] = $ item -> get_name ( ) ; } return $ result ; }
docstring: Convert the list of items to a list of options.
  
  @return array
docstring_tokens: Convert the list of items to a list of options .