/** * Constructor * */ function __construct() { $this->_helper = Zend_Registry::get("fileserver_helper"); //check and create if page dir doesn't exist $this->_helper->createPageDir(); }