Show Game.php syntax highlighted
<?php
require_once 'Quantum/Db/Row.php';
class Astrum_Game extends Quantum_Db_Row {
protected $data = array(
'id' => null,
'name' => null,
'description' => null,
'start_date' => null,
'finish_date' => null,
'hidden' => null,
'paused' => null
);
public function __construct($fields=null, $dao=null) {
parent::__construct($fields, $dao);
$this->tableName = strtolower(__CLASS__);
$this->className = __CLASS__;
$this->primaryKey = 'id';
}
}
See more files for this project here