server/src/app/Models/CocoonDocument.php
author nowmad@23.1.168.192.in-addr.arpa
Thu, 17 Dec 2015 12:12:06 +0100
changeset 61 bbc8a582fcc3
parent 18 f2a40bbc27f6
permissions -rw-r--r--
introduce new action "play" to play the sounds and "details" to show more

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

class CocoonDocument extends Model
{
    public function revisions() {
        return $this->hasMany('CorpusParole\Models\CocoonDocument', 'document_id');
    }
}