Source for file Ainevoistlusryhm.php

Documentation is available at Ainevoistlusryhm.php

  1. <?php
  2. /**
  3.  * @ignore
  4.  */
  5.     class Model_Ainevoistlusryhm extends Zend_Db_Table_Abstract {
  6.         
  7.         protected $_name 'ainevoistlusryhm';
  8.  
  9.         public function fetchARyhmad()
  10.         {
  11.             $select $this->select();
  12.             $select->setIntegrityCheck(false)
  13.             $select->from(array('a_r' => 'ainevoistlusryhm')array('AineID''VoistluseID''RyhmaID'))
  14.                    ->join(array('r' => 'ryhm')'r.RyhmaID=a_r.RyhmaID'array('RyhmaNimi'))
  15.                    ->join(array('v' => 'voistlus')'v.VoistluseID=a_r.VoistluseID'array('VoistluseNimi'))
  16.                    ->join(array('a' => 'aine')'a.AineID=a_r.AineID'array('AineNimi'));
  17.             //$select->order('Kuupaev DESC');
  18.             
  19.             return $this->fetchAll($select);
  20.         }
  21.         
  22.     }
  23. ?>

Documentation generated on Wed, 15 Jun 2011 15:58:39 +0300 by phpDocumentor 1.4.1