original_string: public function print_login(){
          $ret = array();
          $search = new stdClass();
          $search->type = 'text';
          $search->id   = 'merlog_search';
          $search->name = 'merlot_keyword';
          $search->label = get_string('search').': ';
          $author = new stdClass();
          $author->type = 'text';
          $author->id   = 'merlog_author';
          $author->name = 'merlot_author';
          $author->label = get_string('author', 'search').': ';
  
          $ret['login'] = array($search, $author);
          $ret['login_btn_label'] = get_string('search');
          $ret['login_btn_action'] = 'search';
          return $ret;
      }
code: public function print_login(){
          $ret = array();
          $search = new stdClass();
          $search->type = 'text';
          $search->id   = 'merlog_search';
          $search->name = 'merlot_keyword';
          $search->label = get_string('search').': ';
          $author = new stdClass();
          $author->type = 'text';
          $author->id   = 'merlog_author';
          $author->name = 'merlot_author';
          $author->label = get_string('author', 'search').': ';
  
          $ret['login'] = array($search, $author);
          $ret['login_btn_label'] = get_string('search');
          $ret['login_btn_action'] = 'search';
          return $ret;
      }
code_tokens: public function print_login ( ) { $ ret = array ( ) ; $ search = new stdClass ( ) ; $ search -> type = 'text' ; $ search -> id = 'merlog_search' ; $ search -> name = 'merlot_keyword' ; $ search -> label = get_string ( 'search' ) . ': ' ; $ author = new stdClass ( ) ; $ author -> type = 'text' ; $ author -> id = 'merlog_author' ; $ author -> name = 'merlot_author' ; $ author -> label = get_string ( 'author' , 'search' ) . ': ' ; $ ret [ 'login' ] = array ( $ search , $ author ) ; $ ret [ 'login_btn_label' ] = get_string ( 'search' ) ; $ ret [ 'login_btn_action' ] = 'search' ; return $ ret ; }
docstring: Define a search form
  
  @return array
docstring_tokens: Define a search form