zend

Zend Framework Project Location

Dear, I am new to Zend studio (using ver. 7.1.0) + server + Framework(Framework setup manually by using Zend Server library and bin folders. My OS is Vista - business ). I created the zend framework web project using studio. But there is not the files under the htdocs. I check the path several times, but fault is remain. And I copy to e...

how to unit test Zend_Soap_Server?

I have a controller that dispatches Zend_Soap_Server and I want to create a unit test for it. How can I do it? Should I use Zend_Soap_Client? Please, give me some hint. ps. I don't use WSDL ...

How can I dynamically add a Zend_Dojo form element to a zend_form?

Currently I can add a Zend Form element dynamically to a form after it is first loaded. I do this through a mouse click and some ajax. However, I want to add the exact same element with a different name (basically I am giving each element an id). However, when I add the field it just shows up like a normal field and isn't Dojo'fied. ...

Zend Mail - bouncing mails not returning to the specified "Return-Path"

Hi, i'm working on a simple mail list app in PHP using Zend Mail. The idea is that all mail that bounce is redirected to a script which processes them and a report is generated. The script is running ok in direct tests, but I've testing it with fake mail address to test the mail list app, and it appears that the mail is not being redirec...

Uncaught exception 'Zend_Controller_Dispatcher_Exception'

Hi I am getting the following error on running zendframework . Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (error)' in F:\wamp\www\helloworld\library\Zend\Controller\Dispatcher\Standard.php:245 Stack trace: #0 F:\wamp\www\helloworld\library\Zend\Controller\Front.php(...

Zend Models Model_DbTable_Articles working, Articles not

Hi, I got problems with my ZF Models. Where I create new model, put it in Dbtable/Articles.php and name class as Model_DbTable_Articles it is working. But when I name class Articles I got error: Fatal error: Class 'Articles' not found Why? :) ...

Zend Framework problem creating actions through command line

Hi there, I am trying to create actions in my project by using, zf create action add edit however my command line outputs this message, An Error Has Occurred A project profile was not found. Zend Framework Command Line Console Tool v1.9....

How to set the id of an lement in Zend_Form manually?

Hello, I have an image element in my Zend_Form. $dropDownButton = new Zend_Form_Element_Image('image_button'); $dropDownButton->setOptions(array('image'=>'/images/image1.png', 'style'=>'padding-top:20px', ) ); $this->addElement($dropDownButt...

Zend Framework: Autoloading a Class Library

I've got a class library in defined here .../projectname/library/Me/Myclass.php defined as follows: <?php class Me_Myclass{ } ?> I've got the following bootstrap: <?php /** * Application bootstrap * * @uses Zend_Application_Bootstrap_Bootstrap */ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap { /** * ...

Zend Form Submission not working

I am trying to submit a zend form. When I click the button to Submit the form the form doesn't do anything (it doesn't refresh the page either). I have the following create event page: <?php class Form_CreateEvent extends Form_DisplayEvent { public function init() { require_once('createEventInformation.php'); requi...

What's the difference between Zend_Application_Module_Autoloader and Zend_Loader_Autoloader_Resource ?

I've noticed that the sames happens with: $moduleLoader = new Zend_Application_Module_Autoloader(array( 'namespace' => '', 'basePath' => APPLICATION_PATH)); $moduleLoader->addResourceType('acl','acls/','Acl'); and $resourceLoader = new Zend_Loader_Autoloader_Resource(array( 'basePath' => APPLICATION_PATH, 'namespac...

jqgrid in MVC not working

Hi Am currently learning how to use jqgrid in Zend MVC structure. Below is my js script. $(function() { //tabs $("#tabs").tabs(); //Accordion $("#accordion").accordion({ header: "h3" }); //place jqgrid in accordian. $("#list1").jqGrid({ url:'/../../artist/index', datatype: "json", colNames:['ID','Artist...

Can I use my normal (html) form in Zend Framework ?

Can I use my normal (html) form in Zend Framework ? How can I do that & How can I call action in IndexController file? ...

ZEND currency symbol is displaying 1

I'm using zend currency to display the currency based on locale. When I use the following code the symbol gets replaced by 1 instead of simply being removed: $currency = new Zend_Currency($locale); $currency->setFormat(array('symbol' => Zend_Currency::NO_SYMBOL)); What normally gets returned is this: € 2.500,01 but after the "setForma...

Prepending form name, subform name to id of zend dojo form

I am using Zend Form and Dojo. I have a whole bunch of ids that are identical. If you look at the following code you can see my current look : <dt id="addElement-label">&nbsp;</dt><dd id="addElement-element"> <button name="createEventForm[categoryDetail][addElement]" id="createEventForm-categoryDetail-addElement" type="button">addElem...

Zend GData, Google Calendar API Question.

Hi, I read the tutorial from IBM development website. http://www.ibm.com/developerworks/xml/library/x-googleclndr/#resources I tested successfully. Now I don't know how to insert the event Description at my event view page. Based on the code below. Only showed event id, event title. Is there a parameter like event->description ? thanks....

Getting a jqgrid action helper to work

Hi After a few searches I came across a jqgrid action helper that I could include into my Zend MVC. However after downloading the source and trying to use it I get this error Fatal error: Call to a member function getActionController() on a non-object in ..... \Controller\Action\HelperBroker.php on line 299 Here is an excerpt of the ...

Creating a more flexible view in Zend Framework

Given an html/javascript 'widget' which needs to have certain fields customized before use. For example, the css class ids need to be unique as the widget may appear more than once on the same page. Let's say I want to keep the markup (js/html) of the widget stored as a template so that I can fill in the values that need to be customiz...

Using a dash (-) instead of a plus (+) in Zend Framework URLs

by default it seems my ZF is separating multiple parameter words with plus signs. eg. /product/test+product+name I would like to use -> /product/test-product-name Here is the line from routes.ini routes.product.route = "product/:productName"<br /> routes.product.defaults.controller = product<br /> routes.product.defaults.action ...

why is the Zend Framework API documentation that poor?

is it my browser that doesn't work with their API online documentation? the structure of it seems to be very bad compared to the java api online documentation and the yii api online documentation. i am new to zend, so i wonder, should it be like that? ...