zend

How to start with zend framework ?

Hi guys I would like to learn zend framework, I haven't done any projects in ZF. Could you please let me know some useful urls which explain how to start with ZF with a few examples Thank you guys ...

Zend Framework Email Contact fetch Plugin

hi any one can give me link for contact fetch script in zend frame work or how can i do it ...

PHP, ZF: Zend_Acl for module-controller-action

hi 2 all. I need some examples (URLs) for adding Zend_Acl (roles and rules, allowing to visit or deny actions). I've googled but didn't find exactly that I need - step by step guide to provide such operations with module, not just controller-action. BTW, it's good if in example will be used Zend_Config. Thx in advance! ...

How to generate new method or property stub in Zend Studio ?

Is there a way with Zend Studio to generate new method or property stub ? So that if I,m writing code in a php class like $this->SomeMethod('parameter1',$param2); and 'SomeMethod' is a new method I want to write I would like to be able to have the IDE generate this for me: public function SomeMethod($arg1, $arg2) { caret here } Bu...

what is the Zend path

Where should i set the set_include_path for zend... i am trying to use google calendar on my site, and it works on zend.. i never used zend, i am new to stuff like that, so on this google calendar api page it says: Before running this sample or developing your own code which uses the Zend Framework, you may need to set the include_p...

Why browser's address bar is unchanged when using AJAX ?

I am using AJAX/JSON combination in Zend Framework. Whenever I click any link in my application, AJAX request is called and content is loaded successfully in DIVs But the address bar is unchanged. How to change address bar according to current active action. Here is My Working Code: When I use http://practice.dev/ my index.phtml file...

Zend Global Variable in an Extension Persisting Across Multiple Requests

Hi all, As the title explains, I want to maintain an information across requests from multiple clients. Let me put in a simple example to explain what I want. This example is just for illustration of my question and not the purpose of the post. Example: I want to count the total number of requests that a server has had so far fr...

Zend_Acl For Specific Parts Of The Page

I know how to use Zend_Acl to allow certain resources to certain usergroups but how do i use it to allow only specific parts of the page to be shown? For example I have a button to delete a post via AJAX on the page but i only want to show the button to Admins only. I can use Zend_Acl to block access to the controller post/delete but i ...

zend jquery tinymce ajax save one step old value

I have form with Tinymce. I am saving text writen in tinyMce using ajax call. when I press the save button it does not save the latest value which i entered in tinymce. i.e. when i load the page, default value in the field is "aaaa". I update it to "bbb" and press the save button. but it saved the value "aaaa". Now I change the value ...

Using custom isValid() function for specific subform in Zend_Form

Hi, I have a form with several subforms. I've overriden the form's isValid function with my own, but can't find any documentation on how to set an isValid function per individual subform. Can someone post a link or sample code so I can learn how to do this please. Thanks in advanced. ...

Can Zend Optimizer and IonCube co-reside on the same server?

We have a Windows 2008 server that already has Zend Optimizer installed but have been asked by a user if we can install IonCube? Can Zend Optimizer and IonCube co-reside on the same server? What are the correct directives to use to make this work in the php.ini file? We're running PHP 5.2.14 non-threadsafe build. ...

Problem in Getting values from an array in PHP

iam using the Zend framework and assign the array from the controller to view. The array is coming from execution of stored procedure result $results = callProcedure('testprocedure', $in)//$in is an array of input values $view->results =$results['record']; In The $results['record'] array iam having two values such as 'NO' and 'nam...

Is there an official Zend Optimizer for PHP 5.2 non-threadsafe builds?

There was a thread a while back asking about a non-threadsafe build of Zend Optimizer: http://forums.zend.com/viewtopic.php?f=57&t=270&start=10 There was even a test build posted by one of the Zend team: http://forums.zend.com/viewtopic.php?f=57&t=270&start=10#p6058 Does anyone know if there's an official non-...

How to switch on Zend Framework with existing php project.

I have an application which I want to convert to Zend Application. I have to continue by doing next tasks in zend but previous pages should work as they are working. Existing php project is a simple php project with very simple directory structure and all files are in one folder. I created a zend project(test) separately and put all ex...

How do i assign a custom helper to each view differently in zend framework

i have a custom helper written which returns the html form as string which extends the Zend_view-hepler_Abstract Now i have 3 helpers .How do i assign each helper to a different view . It is something like this in the controller class abc extends Zend_controller_front{ public action page1Action (){ // I want to use a different Help...

Zend Redirecting [solved]

For some reason my zend application is redirecting when it's not supposed to. The index view just shows the form. The next view shows some information from a database based on the information supplied by the form. The user then clicks on a confirm button which sends them to anotherAction which constructs and sends an email. I've got a t...

how to get dynamic URL like mydomain.com/username using zend framework

Hello guys I am developing an application using zend framework. In the application I have to provide a URL for each user like mydomain.com/[username] then public will be able to view his profile. [username] is the username of the particular user But how can I achieve this ? I think in ZF mydomain.com/username tries to get the controll...

How can I extend Zend_Controller_Action to make a function universal in all controllers

I want to extend Zend_Controller_Action so I can have messaging be universal. Right now in the preDispatch() I am setting all the error and warning messages. How can I make the AddMessage (see code) and preDispatch functions be universal throughout all controllers? <?php class PlaygroundController extends Zend_Controller_Action { pub...

Best way to send an email to a dynamic group of addresses with Outlook

I am developing an intranet application in PHP with the Zend Framework. One of the features the client would like to have is the ability to click a link and have Outlook open a new message window addressed to everyone in a specific group. So far I have been using a mailto link and comma separating the addresses, but this doesn't work i...

Zend_Form password confirmation with .ini config - Can it be done?

I set out writing a ZF (v1.10.3) application and chose to use Zend_Config_Ini to generate my Zend_Form objects. This was all well and good until I had to test for identical password inputs. This is the part that's misbehaving right now: elements.password.type = password elements.password2.type = password elements.password2.options.va...