~agasti-rhok-02/sahana-agasti/mayon-rhok-02

« back to all changes in this revision

Viewing changes to apps/frontend/lib/model/doctrine/agFacilityResource.class.php

  • Committer: Chad Heuschober
  • Date: 2010-12-04 04:01:41 UTC
  • mfrom: (1.2.1 mayon)
  • Revision ID: chad.heuschober@mail.cuny.edu-20101204040141-orjw950gt411jzmt
Merged changes from r2 of project trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
  {
29
29
    return $this->getAgFacility()->facility_name . " : " . $this->getAgFacilityResourceType()->facility_resource_type;
30
30
  }
31
 
/**
32
 
 * @todo complete this comment block
33
 
 * @param Doctrine_Connection $conn
34
 
 * @return <type> 
35
 
 */
 
31
 
 
32
  /**
 
33
   * delete()
 
34
   *
 
35
   * Before deleting this agFacilityResource record, first delete
 
36
   * all agScenarioFacilityResource records that are joined to it
 
37
   */
36
38
  public function delete(Doctrine_Connection $conn = null)
37
39
  {
38
40
    /* @todo notify user that facility resources are used by scenario(s) */