I want to show my last 5 or 10 statuses from twitter on my site. For now I am using following code to get my twitter statuses.
public function getOrganizationsTwitterUpdates(){
$twitter = new Zend_Service_Twitter('myusername', 'mypassword');
$response = $twitter->status->userTimeline();
return $response;
}
And I have ...
I use Zend Lucene to index swedish texts. The problem is that lucene tokenizes words at swedish chars åäö. For example the word "världens" becomes two words "v" and "ldens" in the index.
Is there a way to add characters that zend lucene should accept and not tokenize at?
...
The following is a drop down menu I am trying to add to a Zend Form. Currently the value of the form is 0 for Running and 1 for Triathlon. Instead I want the values to be the same as the labels. What am I doing wrong? I checked Google but seems like I am doing it right. I have checked this against another one and they seem to be the ...
I'm trying to implement a login system that will be smart enough to redirect a user back to the page they were on before they decided (or were forced to) go to the login page.
I know this seems like a similar question to this one, and this one, but they do not address both of my scenarios.
There are two scenarios here:
User specifica...
The docs are very clear on how to authenticate against open LDAP with ZF. But, I failed to find the docs on how to register new users, delete users and update users (change password) using ZF on Open LDAP.
Any good docs out there?
...
Hello Everyone,
I just got Doctrine 1.2.1 working in my environment (ubuntu) together with the Zend Framework.
When I run my doctrine command
./doctrine build-all-reload
it gives me the output:
build-all-reload - Are you sure you wish to drop your databases? (y/n)
y
build-all-reload - SQLSTATE[HY000]: General error: 1008 Can't drop d...
Hi.
i want to be able to connect from flash media server 3.5 to Zend_Amf (latest ZendFramework version). i tried doing the following:
function amfresponder ( ) {
this.onResult = function (result) {
trace("Success: " + String(result));
};
this.onStatus = function (fault) {
trace("Error: "+ fault.description);
};
};
application....
I am getting started with iPhone application development and would like to create an application that involves pulling data from from a web application. I will be developing the API using PHP and the Zend Framework. I have never created a public API before, nor an iPhone app that works with public data.
Here are some specific questions ...
I have a cron job that sends emails to a list of subscribers, one at a time in a foreach loop, with a PDF attachment. I got this message from the cron script:
Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 78643193 bytes)
What do I need to do to prevent this error?
Also, I'm pretty sure that it didn't...
So I think my issue boils down to two questions:
How do I build a traversable tree structure in PHP when the tree is stored in MySQL (between two tables) using the Adjacency List Model approach while keeping performance in mind?
What's a maintainable approach to displaying the tree in the needed formats without duplicating traversal co...
I have an idea for a web application that would be great if it also had a public API for people to use and interact with. I want people to be able to create their own mobile and desktop applications that interact with the API. Specifically, I want to create an iPhone application that will interact with the API.
I will be building the ap...
I use a portion of ZEND framework and want to be able to update only those files, those files are few directories and few files from library/Zend directory.
I know I can copy only those direcotries and update them, but how can I do it with files in that library/Zend directory?
...
My scope of knowledge on php Frameworks is limited to 4, CakePHP, Symphony, Zend and CodeIgniter (sort by preference)
I want to know which one I could choose to build my personal CMS (which suits best for that purpose) ..
Best,
...
Hello everyone.
First some basic info:
Ubuntu latest version
Zend Framewrok 1.9.6
Doctrine 1.2.1
Php unit latest version
I have been following this and thistutorial to set up my zend envrionment with doctrine and phpUnit.
My environment is not an emtpy project since I had done some developments before I
configured doctrine and php...
I am using Zend Framework. For a particular form, there is not enough space to show the errors next to the form elements. Instead, I want to be able to display the errors above the form. I imagine I can accomplish this by passing $form->getErrorMessages() to the view but how do I disable error messages from being shown be each element...
I am trying to integrate Wordpress with my Zend application using a plugin and it is working quite well except for one thing: the base url. My wordpress plugin calls my integration function inside my application's bootstrap from /myapplication/libray/wordpress. Therefore, the request base url is set to this value for the entire applicati...
I have a problem with saving a date in my mysql database.
To test everything:
I am trying to save 2010-01-01 (for example) in a mysql database.
First i set my mysql field to date. This didn't work. But when i set the field to a string type it does save date in the database.
Why doesn't it work when i want to save a date into a date fie...
Lets say yy only option right now is to work on files from my jump drive that I keep on my keychain. I've got a few computers I can use to code on, but none that I can install anything on or alter in any way. Could I get started and use the 'powerfulness' and functionality of the zend framework by just downloading the files to my jump dr...
Hi there,
Lets say I have the following Request URI: /controller/action/filter//
When I call $this->_getParam('filter') in the controller, it will return NULL. However, I want it to return an empty string.
Am I missing something obvious?
...
I have written custom resources for my Zend_Application bootstrap.
In the manual the following code is given for loading them:
$application = new Zend_Application(APPLICATION_ENV, array(
'pluginPaths' => array(
'My_Resource' => APPLICATION_PATH . '/resources/',
),
'resources' => array(
'FrontController' => a...