b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (CVS HEAD) [ class tree: install ] [ index: install ] [ all elements ]

Procedural File: _functions_create.php

Source Location: /blogs/install/_functions_create.php

Page Details

This file implements creation of DB tables

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

Author:  fplanque: Francois PLANQUE.
Author:  blueyed: Daniel HAHLER.
Author:  edgester: Jason EDGECOMBE.
Author:  vegarg: Vegar BERG GULDAL.
Author:  mfollett: Matt Follett.
Version:  $Id: _functions_create.php,v 1.287 2010/02/26 22:15:48 fplanque Exp $
Copyright:  (c)2003-2010 by Francois PLANQUE - http://fplanque.net/ Parts of this file are copyright (c)2004 by Vegar BERG GULDAL - http://funky-m.com/ Parts of this file are copyright (c)2005 by Jason EDGECOMBE
Filesource:  Source Code for this file
License:  GNU General Public License (GPL)
Functions
create_blog  [line 734]

void create_blog( $blog_name, $blog_shortname, $blog_urlname, [ $blog_tagline = ''], [ $blog_longdesc = ''], [ $blog_skin_ID = 1], [ $kind = 'std']  )

Create a new a blog This funtion has to handle all needed DB dependencies!

Parameters:
   $blog_name: 
   $blog_shortname: 
   $blog_urlname: 
   $blog_tagline: 
   $blog_longdesc: 
   $blog_skin_ID: 
   $kind: 

Information Tags:
Todo:  move this to Blog object (only half done here)

[ Top ]
create_default_countries  [line 471]

void create_default_countries( )

Create default countries with relations to currencies



[ Top ]
create_default_currencies  [line 292]

void create_default_currencies( )

Create default currencies



[ Top ]
create_default_data  [line 67]

void create_default_data( )

Insert all default data:



[ Top ]
create_demo_contents  [line 769]

void create_demo_contents( )

This is called only for fresh installs and fills the tables with demo/tutorial things.



[ Top ]
create_tables  [line 50]

void create_tables( )

Used for fresh install



[ Top ]


Documentation generated on Sat, 06 Mar 2010 04:10:36 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).