Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * register actions.
- *
- * @package yoga
- * @subpackage register
- * @author Your name here
- * @version SVN: $Id: actions.class.php 2692 2006-11-15 21:03:55Z fabien $
- */
- class registerActions extends sfActions
- {
- /**
- * Executes index action
- *
- */
- public function executeIndex()
- {
- $this->accommodations = AccommodationPeer::doSelect(new Criteria());
- $this->questions = StudentQuestionPeer::doSelect(new Criteria());
- }
- public function executeCreate()
- {
- $this->student = new Student();
- $this->setTemplate('edit');
- $this->accomodation = new Accomodation();
- $this->setTemplate('edit');
- $this->student_response = new StudentResponse();
- $this->setTemplet('edit');
- }
- }
Add Comment
Please, Sign In to add comment