1
0
mirror of synced 2024-12-13 14:56:01 +03:00
doctrine2/models/Log_Entry.php

11 lines
293 B
PHP

<?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');
}
}