original_string: public function getAllErrors() {
  
          $errors = array();
          // First the structure itself
          if ($this->getError()) {
              $errors[] = $this->getError();
          }
          // Delegate to tables
          if ($this->tables) {
              foreach ($this->tables as $table) {
                  if ($tableerrors = $table->getAllErrors()) {
  
                  }
              }
              // Add them to the errors array
              if ($tableerrors) {
                  $errors = array_merge($errors, $tableerrors);
              }
          }
          // Return decision
          if (count($errors)) {
              return $errors;
          } else {
              return false;
          }
      }
code: public function getAllErrors() {
  
          $errors = array();
          // First the structure itself
          if ($this->getError()) {
              $errors[] = $this->getError();
          }
          // Delegate to tables
          if ($this->tables) {
              foreach ($this->tables as $table) {
                  if ($tableerrors = $table->getAllErrors()) {
  
                  }
              }
              // Add them to the errors array
              if ($tableerrors) {
                  $errors = array_merge($errors, $tableerrors);
              }
          }
          // Return decision
          if (count($errors)) {
              return $errors;
          } else {
              return false;
          }
      }
code_tokens: public function getAllErrors ( ) { $ errors = array ( ) ; // First the structure itself if ( $ this -> getError ( ) ) { $ errors [ ] = $ this -> getError ( ) ; } // Delegate to tables if ( $ this -> tables ) { foreach ( $ this -> tables as $ table ) { if ( $ tableerrors = $ table -> getAllErrors ( ) ) { } } // Add them to the errors array if ( $ tableerrors ) { $ errors = array_merge ( $ errors , $ tableerrors ) ; } } // Return decision if ( count ( $ errors ) ) { return $ errors ; } else { return false ; } }
docstring: This function will return all the errors found in one structure
  looking recursively inside each table. Returns
  an array of errors or false
  @return mixed
docstring_tokens: This function will return all the errors found in one structure looking recursively inside each table . Returns an array of errors or false