views:

52

answers:

1

I have weird problem with zend framework basics. I have simple action in IndexController:

public function updateusersAction() {
    $this->_helper->viewRenderer->setNoRender(true);
    $this->_helper->layout->disableLayout();

    new Application_Model_Users();
}

And a model I want to create is defined in application/models/Users.php (folders generated by zf.bat). The whole body of this file is as follow:

<?php

class Application_Model_Users {
    public function __construct() {
        echo "test";
    }
}

If it matters I use zf 1.10.6 on Windows 7 with xampp. Do you have any idea what could be the problem?

ps. I have to make it working on Windows as the target app will have to use COM components...

A: 

Huh. Found solution in another thread: http://stackoverflow.com/questions/2509637/zend-framework-cant-find-model-classes Anyway, thanks for interest everyone.

Moby04
Please mark your own answer as accepted.
Benjamin Cremer