zend-framework

how to use Tinymce on zend framework ?

hi all i need to use Tinymce in my project on zend framework, but i dont know how to use of it ! anyone may help and give an example? thanks ...

How can I read an Excel file using Zend framework?

How can I read an Excel file using Zend framework? ...

Zend Framework - routes - all requests to one controller except requests for existing controllers

How to create route that accept all requests for unexsting controllers, but leave requests for existing. This code catch all routes $route = new Zend_Controller_Router_Route_Regex('(\w+)', array('controller' => 'index', 'action' => 'index')); $router->addRoute('index', $route); how should I specify route requests like /admin/* or /f...

Invalid controller specified (error) - Zend Framework

Hello, I get all the time this error: exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (error)' in blub\libraries\Zend\Controller\Dispatcher\Standard.php:242 I have a file "ErrorController.php" in the "controllers" directory looking like this: class ErrorController extends Zend_Controlle...

Zend Auth With Two Identity Columns

I am using Zend_Auth to validate user credentials and ran into an issue. I need to have a dual column identity. The the two columns are user name and customer identifier. The identityColumn setting and setIdentity() methods don't allow for this scenario. I tried to accomplish this by using the credentialTreatment setting, but when I ...

Does Zend ACL suit my needs?

I have based my application upon the Zend Framework. I am using Zend_Auth for authentication, but I'm not sure if Zend_Acl will work for me because, frankly, the examples I've seen are either too simplistic for my needs or confuse me. I'm thinking of elements in my application as Resources and these Resources can have have Privileges. ...

Problem With View Helpers

I wrote few custom view helpers but I have a little trouble using them. If I add the helper path in controller action like this: public function fooAction() { $this->view->addHelperPath('My/View/Helper', 'My_View_Helper'); } Then I can use the views from that path without a problem. But when I add the path in the bootstrap file li...

Sending email using Zend Framework and PHP

I working on a form whereby when the user enter in their email account and click on send, an email will be sent to their email account. I have everything worked out. Just that it doesnt send the email to my account. Anyone have any ideas? Is there a configuration that I left out or something? This is the sample from my controller: pu...

Integration of Zend_Auth and Zend_Acl with Zend_Amf_Server

Has anyone succesfully integrated Zend_Auth and Zend_Acl with Zend_Amf_Server? I'am looking for a working example. ...

Zend_Form, overwriting decorators by default, not working

I am having issues with zend_form and zend_decorator. I have created a decorator class to default all forms to use list elements, however it doesn't seem to be working! Essentially my_decorator_design extends zend_form and then my forms extend the decorator. Ideas? class My_Decorator_Design extends Zend_Form { public function load...

Zend Framework: Handling of multiple database records in one form as checkboxes

Hi everyone, I'm new to zend framework but have made my first steps with it successfully. Until now I have created some Zend_Forms which are mapping single records of my model to the form fields. I have handled the forms with form classes for each case. This works all very well until now. Now I have the situation that I have to asign...

zend framework : how to add the new file

i want to build new project with zendframe work and mvc application.. already i build the project using framework.zend.com. further more i would like to include new php file to the project. automatically index file created by zend frameworkd for this project. so i want to include another php file to this project.. i dont know how to...

Extending Zend_Db_Table_Row_Abstract

Hi. I want to extend Zend_Db_Table_Row_Abstract to have some additional fields besides those from table. Example. I have class Automobili_Model_Car extends Zend_Db_Table_Abstract { protected $_name = 'car'; protected $_rowClass = 'Automobili_Model_Row_Car'; } and class Automobili_Model_Row_Car extends Zend...

Using of Zend_Soap_Wsdl_Strategy_ArrayOfTypeComplex with string[]

Hi I'm currently using Zend_Soap_AutoDiscover to generate my WSDL file, the problem is I want this wsdl to handle output of type ArrayOfString ( string[] ). so I changed the complex type strategy to Zend_Soap_Wsdl_Strategy_ArrayOfTypeSequence, it works properly but the problem is that the output isn't really an array of string the outpu...

How to create proper UPDATE query using NOW() ?

What's the way of building "UPDATE table SET date = NOW() WHERE id = 1" query ? $table->update(array('date' => 'NOW()'), 'id = 1'); Above code doesn't work properly. ...

Zend Framework - need to access a GET parameter from a view

HI guys - I'm using the Zend framework and what I need is to construct a url in my view. Normally in regular php code I'd just grab the GET Variable by using the global $_GET. However with Zend I'm setting it to clean URIs so : ?ac=list&filter=works&page=2 Looks like index/ac/list/filter/works/page/2 In my view I'm setting a links cs ...

How to learn Zend

I am trying to learn Zend. I'm having trouble understanding the concept of MVC. Please give some good tutorials.Help me... ...

Zend DB and Conditional Case Statements

Hey, I have a zend app that displays a league table of race results. The basic process is to determine the list of events to be included, and then dynamically add a set of columns to a SQL query. My initial implementation is rather rubbish and i want to refector it. I manually build up a string of SQL and at the very end call db->fetch(...

Formatting column results in Doctrine ORM?

I have a timestamp field (using the timestampable template) that I want formatted differently in the results for only one SELECT query. Is there a way to pass in a date/time format string in the Doctrine_Query::create() method? Or maybe there's a way with ->setParams() or ->setOptions? I could format the date in the View using Zend_Da...

interview assignment

My company is looking for a new web developer and we are eager to find someone that would be efficient as soon as hired and capable of making quality code. I will have to take interview and I would like to give them an assignment, so I can see their general programming skills if they are able to use CSS the general quality of what they...