You are here

CaseTrackerCase.inc in Case Tracker 7.2

File

includes/entity/CaseTrackerCase.inc
View source
<?php

/**
 * The class used for case entities
 */
class CaseTrackerCase extends Entity {
  public function __construct($values = array()) {
    parent::__construct($values, 'casetracker_case');
  }
  protected function defaultLabel() {
    return $this->title;
  }
  protected function defaultUri() {

    // TODO
    return array(
      'path' => 'project/TODO/case/' . $this->cid,
    );
  }

}

Classes

Namesort descending Description
CaseTrackerCase The class used for case entities