b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (0.9.x) [ class tree: install ] [ index: install ] [ all elements ]

Procedural File: _functions_evoupgrade.php

Source Location: /blogs/install/_functions_evoupgrade.php

Page Details

This file implements upgrading of DB tables

b2evolution - http://b2evolution.net/ Released under GNU GPL License - http://b2evolution.net/about/license.html

Copyright:  (c)2003-2005 by Francois PLANQUE - http://fplanque.net/
Filesource:  Source Code for this file
Functions
convert_lang_to_locale  [line 50]

void convert_lang_to_locale( string $table, string $columnlang, string $columnID  )

converts languages in a given table into according locales

Parameters:
string   $table:  name of the table
string   $columnlang:  name of the column where lang is stored
string   $columnID:  name of the table's ID column

Information Tags:
Author:  blueyed

[ Top ]
set_upgrade_checkpoint  [line 21]

void set_upgrade_checkpoint( string $version  )

Create a DB version checkpoint

This is useful when the next operation might timeout or fail! The checkpoint will allow to restart the script and continue where it stopped

Parameters:
string   $version:  version of DB at checkpoint


[ Top ]
upgrade_b2evo_tables  [line 113]

void upgrade_b2evo_tables( )

upgrade_b2evo_tables(-)



[ Top ]


Documentation generated on Tue, 20 May 2008 01:54:51 +0200 by phpDocumentor 1.4.2