original_string: public function getDefaultValues($table)
      {
          $scheme = $this->getScheme($table);
          $values = array();
          foreach ($scheme['fields'] as $name => $info) {
  
              if (array_key_exists('default', $info)) {
                  $values[$name] = $info['default'];
                  continue;
              }
  
              if (!empty($info['serialize'])) {
                  $values[$name] = array();
              }
          }
  
          return $values;
      }
code: public function getDefaultValues($table)
      {
          $scheme = $this->getScheme($table);
          $values = array();
          foreach ($scheme['fields'] as $name => $info) {
  
              if (array_key_exists('default', $info)) {
                  $values[$name] = $info['default'];
                  continue;
              }
  
              if (!empty($info['serialize'])) {
                  $values[$name] = array();
              }
          }
  
          return $values;
      }
code_tokens: public function getDefaultValues ( $ table ) { $ scheme = $ this -> getScheme ( $ table ) ; $ values = array ( ) ; foreach ( $ scheme [ 'fields' ] as $ name => $ info ) { if ( array_key_exists ( 'default' , $ info ) ) { $ values [ $ name ] = $ info [ 'default' ] ; continue ; } if ( ! empty ( $ info [ 'serialize' ] ) ) { $ values [ $ name ] = array ( ) ; } } return $ values ; }
docstring: Returns an array of default field values for the given table
  @param string $table
  @return array
docstring_tokens: Returns an array of default field values for the given table