function ResetCacheArray()
  {
    // First, we reset all values (we know the key based on the schema)
    reset($this->_sql_tables_schema['cache']);
    while(list($valid_key, $valid_format) = @each($this->_sql_tables_schema['cache'])) {
      $pos = mb_strpos(mb_strtoupper($valid_format), 'DEFAULT');
      $value = "";
      if ($pos !== FALSE) {
        $value = trim(substr($valid_format, $pos + strlen("DEFAULT")));
        if (("'" == substr($value,0,1)) && ("'" == substr($value,-1))) {
          $value = substr($value,1,-1);
        }
      }
      $this->_cache_data[$valid_key] = $value;
    }
  }
function ResetCacheArray()
  {
    // First, we reset all values (we know the key based on the schema)
    reset($this->_sql_tables_schema['cache']);
    while(list($valid_key, $valid_format) = @each($this->_sql_tables_schema['cache'])) {
      $pos = mb_strpos(mb_strtoupper($valid_format), 'DEFAULT');
      $value = "";
      if ($pos !== FALSE) {
        $value = trim(substr($valid_format, $pos + strlen("DEFAULT")));
        if (("'" == substr($value,0,1)) && ("'" == substr($value,-1))) {
          $value = substr($value,1,-1);
        }
      }
      $this->_cache_data[$valid_key] = $value;
    }
  }
function ResetCacheArray ( ) { // First, we reset all values (we know the key based on the schema) reset ( $ this -> _sql_tables_schema [ 'cache' ] ) ; while ( list ( $ valid_key , $ valid_format ) = @ each ( $ this -> _sql_tables_schema [ 'cache' ] ) ) { $ pos = mb_strpos ( mb_strtoupper ( $ valid_format ) , 'DEFAULT' ) ; $ value = "" ; if ( $ pos !== FALSE ) { $ value = trim ( substr ( $ valid_format , $ pos + strlen ( "DEFAULT" ) ) ) ; if ( ( "'" == substr ( $ value , 0 , 1 ) ) && ( "'" == substr ( $ value , - 1 ) ) ) { $ value = substr ( $ value , 1 , - 1 ) ; } } $ this -> _cache_data [ $ valid_key ] = $ value ; } }
Reset the cache array
Reset the cache array