HI
I have used "setResultSetLimit(1000)" method to limit results to 1000 records. The good thing is It helps to save server resources, but there is noway to get full record count for a query. Is any one know how to get full hit count?
TX
...
Hi,
I've been trying to figure out how to do a HTTP authentication and then use the session to display pages in a webview in my android app. Could someone please provide som guidance (I would very much appretiate some sample code if possible).
I use Zend ACL on the server side.
Thanks in advance.
...
Is it possible to somehow use some of the PHP classes that come with Zend in a Java project? I'd like to think that there's always a way, but how?
...
I'm trying to identify some of the pros and cons of having a CMS that is event driven.
Event driven is not uncommon. You see it in many scripting languages like Actionscript, javascript, jquery that involve a client. How about in a CMS where the events and their responses happen on the server. What advantages or disadvantages might thi...
Using PHP GMail OAuth Library/Sample.
$options = array(
'requestScheme' => Zend_Oauth::REQUEST_SCHEME_HEADER,
'version' => '1.0',
'consumerKey' => $THREE_LEGGED_CONSUMER_KEY,
'callbackUrl' => getCurrentUrl(),
'requestTokenUrl' => 'https://www.google.com/accounts/OAuthGetRequestToken',
'userAuthorizationUrl' => ...
with latest zend framework i can't upload file with ajax. in my form there are 3 field (title, description , image) . I'm using zend form. For ajax submit i'm using jquery form plugin (http://jquery.malsup.com/form/)
And here is the code for ajax submit.
<script type="text/javascript">
// wait for the DOM to be loaded
...
Warning: Non-static method Zend_Controller_Request_Http::getCookie() should not be called statically in..
Iam trying the following to get Cookie values:
$cookieData = Zend_Controller_Request_Http::getCookie($key, $default);
is there an better way to this?
...
Hi everybody,
I have a form input to get a number (it is a price). It can be a decimal like 102,5. I have to compare it with an other decimal for exemple 102,6.
How can handle this ? I don't want to use round() cause i get to compare exactly.
...
I'm trying to install Zend Studio on an existing installation of Eclipse HELIOS, but Zend doesn't want to behave. The PDF instructions here say it's for "Eclipse Galileo version 3.5.1 only". Sure enough, I'm getting a strange error on a Helios.
Cannot complete the install because of a conflicting dependency.
I've already upgraded to ...
I'm in the middle of converting an existing app built on top of zend framework to work as a plugin within wordpress as opposed to the standalone application it currently is.
I've never really used zend so I've had to learn about it in order to know where to begin. I must say that at first I didn't think much of zend, but it's funny beca...
Hi,
I've created an application with the Zend Framework. Now I was asked to make an iphone webapp for it.
So my solution is to get the useragent and render a different view for it.
My searches on google lead to Zend_UserAgent but my library says it doesn't contain it. ;)
Is there any Zend way to find the useragent to render a differen...
When creating form elements with Zend (using Zend Studio for Eclipse), I'd like some auto completion or hints. Here's what I'm thinking. I'm sure these exist, but I don't know how to get them.
I type createElement and auto-completes gives me the signature createElement($type, $name). Great, I select it.
but when I try to set the $typ...
I've started using Zend Framework and Studio for my projects and would like to hear from those who already use it what to expect. I'm not interested so much in the good things because these can be marketing messages. I want to know about the things that are not so good or are annoying so I can decide for myself if they matter enough to m...
I'm starting to learn Zend Framework and it reminds of when I dabbled with Rails a while back. Does knowledge of Rails help with better understanding Zend and the whole controllers, model, views architecture? Zend feels to me like new PHP, Rails-style.
There are a lot of people talking about the steep learning curve, so I was thinking ...
I'm new to zend so I'm not sure what's the best way to organize what I'm trying to do. I direct the user to a series of quizzes.
mysite.com/quiz1
mysite.com/quiz2
mysite.com/quiz3
mysite.com/quiz4
When the user answers the first quiz, he is forwarded to a page that tells him if his answer is correct, and on the same page he can choose ...
I have to select a framework (or role my own) and one of the databases I have to connect to is FoxPro. I found a driver here at http://adodb.sourceforge.net/ and I am guessing it's okay to use, but I don't know if I can use it in Zend. I thought Zend came with an ORM too so I didn't now if I could use it with that. Thanks.
EDIT: A b...
Hi,
in my main layout template I set jQuery paths:
if ($this->jQuery ()->isEnabled ()) {
$this->jQuery ()->setLocalPath ( $this->baseUrl () . '/js/jquery/jquery-1.4.2.min.js' )->setUiLocalPath ( $this->baseUrl () . '/js/jquery/jquery-ui-1.8.4.custom.min.js' )->addStyleSheet ( $this->baseUrl () . '/js/jquery/css/custom-theme/jquery-...
I am building a RESTful API services with ZF 1.10.8 as am newbie its a little bit confusing when dealing with ZF routing.
I need to have versioning, api_key, and response format in url, something like:
/:version/:response_format/:api_key/:controller ...
/1.0/json/1234567890/articles/
The version is module based with the latest versio...
I have seen numerous examples of the Command pattern
But they all tend to be in the context of a desk-top application.
i.e "Command decouples the object that invokes the operation from the one that knows how to perform it"
In the context of a pure HTML (but Zend Framework MVC driven) website, I am thinking of a user 'clicking a link' ...
I'm using Zend Gdata to connect users to a shared Google Docs spreadsheet that serves as a backend to a custom interface.
I need to track which user most recently changed the value in a particular column. I'm not aware of a way to do this using Google Spreadsheets (but that would be an acceptable answer to my question).
Is there a w...