original_string: function toArray($collectHidden = false)
      {
          include_once 'HTML/QuickForm/Renderer/Array.php';
          $renderer = new HTML_QuickForm_Renderer_Array($collectHidden); //Moodle: PHP 5.3 compatibility
          $this->accept($renderer);
          return $renderer->toArray();
       }
code: function toArray($collectHidden = false)
      {
          include_once 'HTML/QuickForm/Renderer/Array.php';
          $renderer = new HTML_QuickForm_Renderer_Array($collectHidden); //Moodle: PHP 5.3 compatibility
          $this->accept($renderer);
          return $renderer->toArray();
       }
code_tokens: function toArray ( $ collectHidden = false ) { include_once 'HTML/QuickForm/Renderer/Array.php' ; $ renderer = new HTML_QuickForm_Renderer_Array ( $ collectHidden ) ; //Moodle: PHP 5.3 compatibility $ this -> accept ( $ renderer ) ; return $ renderer -> toArray ( ) ; }
docstring: Returns the form's contents in an array.
  
  The description of the array structure is in HTML_QuickForm_Renderer_Array docs
  
  @since     2.0
  @access    public
  @param     bool      Whether to collect hidden elements (passed to the Renderer's constructor)
  @return    array of form contents
docstring_tokens: Returns the form s contents in an array .