Changeset 1521


Ignore:
Timestamp:
Oct 1, 2010, 3:06:36 AM (10 years ago)
Author:
roux
Message:

documents relatifs à document

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/documents/actions/actions.class.php

    r1421 r1521  
    4040     ->orderBy('annexe')
    4141     ->fetchArray();
     42   $this->relatifs = Doctrine_Query::create()
     43     ->select('t.id, t.type, t.type_details, t.titre, t.signataires')
     44     ->from('Texteloi t')
     45     ->where('t.id_dossier_an = ?', $this->doc->id_dossier_an)
     46     ->orderBy('t.numero, t.annexe')
     47     ->fetchArray();
    4248   $this->response->setTitle($this->doc->getTitre().' - NosDéputés.fr');
    4349  }
Note: See TracChangeset for help on using the changeset viewer.