Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/config/language.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of philippe thomassigny  >  Dominion  >  examples/config/language.php  >  Download  
File: examples/config/language.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Dominion
Build and execute portable SQL queries
Author: By
Last change:
Date: 2 years ago
Size: 374 bytes
 

Contents

Class file image Download
<?php

// Dominion v8 examples
// Language: PHP
// Creation: 09/10/2011

// TABLE: language,
// languages

$language = new DB_Table("language""lan_"DB_Table::TABLE);

// PK, 2 ISO letters
$language->AddField(
  new 
DB_FieldVarchar("key"2, new DB_Check(array(DB_Check::AI)))
);

$language->AddField(
  new 
DB_FieldVarchar("name"255, new DB_Check(DB_Check::NN))
);

?>