Skip to content
Snippets Groups Projects
Select Git revision
  • 9bc8e30f18694a838142594d767b4cce574ec2e9
  • main default protected
  • 5.5 protected
  • atlantis
  • 5.3 protected
  • 5.0 protected
  • issue-23
  • issue8-seat-logging-and-export
  • ticket-216
  • tickets-215-216-241-242
10 results

CoursewareStructuralElement.vue

Blame
  • Forked from Stud.IP / Stud.IP
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Example.php 426 B
    <?php
    
    namespace JsonapiExample\Models;
    
    class Example
    {
        public static $nextId = 1;
    
        public $id;
        public $title;
        public $mkdate;
    
        public function __construct($title)
        {
            $this->id = self::$nextId++;
            $this->title = $title;
            $this->mkdate = time();
        }
    
        public static function findAll()
        {
            return [new Example("foo"), new Example("bar"), new Example("baz")];
        }
    }