Zend_Rest - Example

I built a REST API and calling code using Zend Framework. This code also uses Doctrine (http://www.doctrine-project.org/projects/orm). Prior to coding, I reviewed several resources on the 'net in an attempt to follow best practices. I visited the f… more »

dojo - dijit Form - Create dijits programmatically

This code populates an empty form with a radio button input that has three options. It can be modified to work with check boxes and other dijits. This is intended to be used with Zend Framework's Zend_Dojo_Form component, the tags are created using… more »

Zend Framework - Oauth - Get LinkedInContacts

/* Set up the Oauth client */ $oauth = new Zend_Oauth_Client(array( 'consumerKey' => $this->configs->connections->consumerKey, 'consumerSecret' => $this->configs->connections->consum… more »

Token Handling - Zend Framework - OAuth 2.0 - Google

Sample code to get a request token from Google through OAuth 2.0. if ($form->getElement('auth_code')->isValid($data['auth_code'])) { $client = new Zend_Http_Client($this->configs->oauth_uri,… more »

Zend Framework 1.11 - Rename Form Elements

Workaround $elements = $this->getElements(); foreach ($elements as $k => $v) { $v->setName($prefix.$k); $this->_elements[$prefix.$k] = $this->_elements[$k];… more »

:: Next >>