Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 19th, 2010  |  syntax: PHP  |  size: 0.22 KB  |  views: 61  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2.  
  3. class Spieler extends DataObject {
  4.        
  5.         static $db = array("Name" => "Varchar(255)", "Position" => "Varchar(255)", "Nummer" => "Int");
  6.         static $has_one = array("PlayerImg" => "Image", "Team" => "TeamPage");
  7. }
  8. ?>
clone this paste RAW Paste Data