Show User.php syntax highlighted
<?php
require_once 'Quantum/Db/Row.php';
class Astrum_User extends Quantum_Db_Row {
protected $data = array(
'id' => null,
'name' => null,
'password' => null,
'email' => null,
'joined' => null,
'sessid' => null,
'hashcode' => null,
'is_player' => 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