1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/models/Log_Entry.php

11 lines
293 B
PHP
Raw Normal View History

<?php
class Log_Entry extends Doctrine_Record {
public function setTableDefinition() {
$this->hasColumn('stamp', 'timestamp');
$this->hasColumn('status_id', 'integer');
}
public function setUp() {
$this->hasOne('Log_Status', 'Log_Entry.status_id');
}
}