PHP Classes

File: schema.evdb.lat69m.php

Recommend this page to a friend!
  Classes of Bartlomiej Rudzki   EVDB   schema.evdb.lat69m.php   Download  
File: schema.evdb.lat69m.php
Role: Auxiliary script
Content type: text/plain
Description: Example of compiled EVDB schema
Class: EVDB
Store and retrieve objects in MongoDB databases
Author: By
Last change:
Date: 14 years ago
Size: 1,660 bytes
 

Contents

Class file image Download
<?php $schema=array (
 
'Person' =>
  array (
   
'$EVDBAbstract' => false,
   
'first_name' => '',
   
'last_name' => '',
   
'birthdate' => 0,
  ),
 
'User' =>
  array (
   
'$EVDBAbstract' => false,
   
'first_name' => '',
   
'last_name' => '',
   
'birthdate' => 0,
   
'$EVDBParents' =>
    array (
     
0 => 'Person',
    ),
   
'login' => '',
   
'password' => '',
   
'email' => '',
   
'foo' => 'bar',
  ),
 
'Actor' =>
  array (
   
'$EVDBAbstract' => false,
   
0 => 'movies: ""',
  ),
 
'Politician' =>
  array (
   
'$EVDBAbstract' => false,
   
'first_name' => '',
   
'last_name' => '',
   
'birthdate' => 0,
   
'$EVDBParents' =>
    array (
     
0 => 'Person',
    ),
   
'party' => '',
  ),
 
'Governor' =>
  array (
   
'$EVDBAbstract' => false,
   
'first_name' => '',
   
'last_name' => '',
   
'birthdate' => 0,
   
'$EVDBParents' =>
    array (
     
0 => 'Politician',
     
1 => 'Person',
    ),
   
'party' => '',
   
'state' => '',
  ),
 
'Bodybuilder' =>
  array (
   
'$EVDBAbstract' => false,
   
'first_name' => '',
   
'last_name' => '',
   
'birthdate' => 0,
   
'$EVDBParents' =>
    array (
     
0 => 'Person',
    ),
   
'favorite_gym' => '',
  ),
 
'ArnoldSchwarzenegger' =>
  array (
   
'$EVDBAbstract' => false,
   
0 => 'movies: ""',
   
'first_name' => '',
   
'last_name' => '',
   
'birthdate' => 0,
   
'$EVDBParents' =>
    array (
     
0 => 'Bodybuilder',
     
1 => 'Politician',
     
2 => 'Person',
     
3 => 'Actor',
    ),
   
'party' => '',
   
'favorite_gym' => '',
   
'country' => 'Austria',
   
'$EVDBCastingRule::country' =>
    array (
     
'_always' => 'Austria',
    ),
  ),
)
?>