Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class UsersController extends Zend_Controller_Action
- {
- public function init()
- {
- /* Initialize action controller here */
- }
- public function indexAction()
- {
- // action body
- }
- public function frankAction()
- {
- // action body
- }
- public function viewAction()
- {
- $this->render('user');
- }
- //create the function to handle possible usernames that dont exist
- public function __call($method, $arguments)
- {
- //cant get this to work
- $this->view->user = $method;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement