Logo

GitLab

Sign in

David Zhong / realops-website

  • Back to Dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 4
  • Merge Requests 0
  • Labels
  • Wiki
  • realops-website
  • app
  • models
  • User.php
  • Entirely new Model class
    cc6e8233
    David Zhong authored
    2014-06-04 22:39:51 +1000  
    Browse Code ยป
User.php 135 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8
<?php
class User extends Model {
  protected $createtime = true;
  
  function flights() {
    return $this->hasMany('Flights');
  }
}