Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class QuestionsPresenter extends BasePresenter
- {
- public function actionDefault()
- {
- $questions = array(
- 'What is your name?',
- 'How old are you?',
- 'Where are you from?',
- );
- $this['questions']->setQuestions($questions);
- }
- protected function createComponentQuestions()
- {
- return new Questions;
- }
- }
Add Comment
Please, Sign In to add comment