Hi.
This code example:
?php
require_once 'Zend/Date.php';
$time = 1262476800;
$date = new Zend_Date(null, null, null);
$date-setTimestamp($time);
echo $date-toString('Y-d-m');
echo 'br';
echo date('o\-j\-i', $time);
echo 'br';
echo gmdate('o\-j\-i', $time);
echo 'br';
echo date('Y-d-m',
Hi
i have a problem in Multiselect selected values. it should select 'My
Community for Friends'
this value, but it is not working.
$aGroups = Array ( [3] = My Community for Friends [4] = Electronics )
$sGroup = Array ( [0] = 3 )
$groups = new Zend_Form_Element_Select('group');
umpirsky wrote:
expected result is 2010-03-01. The whole year is missed :)
Quoting PHP manual:
---
o - ISO-8601 year number. This has the same value as /Y/, except that if
the ISO week number (/W/) belongs to the previous or next year, that
year is used instead. (added in PHP 5.1.0)
---
Ok, nevermind. I created a parent class myself (not using Zend_Form_Subform).
I was forgotten to place an $_isArray parameter. Set to true and it works
perfect ;)
The only thing is it renders like param-param2-elemenname. I have to digg
deeper to render it like param2-elementname[param]. But
Great, thanks.
Regards,
Saša Stamenković
On Tue, Oct 27, 2009 at 12:35 PM, drm d...@melp.nl wrote:
umpirsky wrote:
expected result is 2010-03-01. The whole year is missed :)
Quoting PHP manual:
---
o - ISO-8601 year number. This has the same value as /Y/, except that if
the ISO week
Hi,
I've constructed a webpage for users to enter personal data into.
It's organized as a table with a number of rows each representing a person
and the columns containing the attributes like email first name and so on.
like this:
email firstname lastname affiliation
email firstname lastname
ajitk15 wrote:
$groups = new Zend_Form_Element_Select('group');
$groups -setLabel('Groups:')
-setAttrib('multiple','multiple')
Hi, you should use Zend_Form_Element_Multiselect for
even i tried with Zend_Form_Element_Multiselect also
still the same issue.
drm-4 wrote:
ajitk15 wrote:
$groups = new Zend_Form_Element_Select('group');
$groups -setLabel('Groups:')
You're right, it's a simple format for simple configuration. My issue is
Zend's and PHP Group's hacks into the INI format trying to force it to do
things it was never designed to do. No different than using a flat-head
screwdriver when the screw was designed for a phillips-head. Doable, but a
Hi All,
We are building an application in which we dynamically generate shops from a
very huge database consisting of millions of records. When a shop is
generated we get all products [A record set] that come under that shop and
cache it using Zend_Cache_Backend_File.
Consider a scenario in
-- Philip G guice...@gmail.com wrote
(on Tuesday, 27 October 2009, 10:44 AM -0500):
You're right, it's a simple format for simple configuration. My issue
is Zend's and PHP Group's hacks into the INI format trying to force it
to do things it was never designed to do. No different than using a
I'm new to ZF and I'm trying to figure out the difference between resource
and plugin resource - specifically, I have a working site and in the
bootstrap I init the doctype with this:
public function _initDocType(){
$this-bootstrap('view');
$view =
The Zend Framework team is pleased to announce the immediate
availability of the 1.9.5 release. This release is the fifth maintenance
release in the 1.9 series, and includes almost 30 bugfixes, many of them
from this month's bug hunt days.
You may download it from the Zend Framework site:
-- ljs629 js...@moneytip.com wrote
(on Tuesday, 27 October 2009, 10:45 AM -0700):
I'm new to ZF and I'm trying to figure out the difference between resource
and plugin resource - specifically, I have a working site and in the
bootstrap I init the doctype with this:
public function
Hello,
I'm currently having problems with the Zend Framework Zend_AMF module-
basically we were using Zend Framework 1.8.0 (and we've managed to
upgrade to 1.8.3 without problems), but once we upgrade to 1.8.4 or
above then Zend_AMF stops working the way it used to when multiple
objects are
First you need to know this:
A resource (most time) creates something (a view, db, log, whatever). You
might want to grab this thing, but sometimes you need the access to the
plugin itself.
The getResource() gets the thing for you. The getResourcePlugin() gets the
plugin. So you might have a
A... great. And thanks for the quick response!
weierophinney wrote:
-- ljs629 js...@moneytip.com wrote
(on Tuesday, 27 October 2009, 10:45 AM -0700):
I'm new to ZF and I'm trying to figure out the difference between
resource
and plugin resource - specifically, I have a working
-- ljs629 js...@moneytip.com wrote
(on Tuesday, 27 October 2009, 11:37 AM -0700):
Thanks again -
I understand now what gets returned by getResource vs. getPluginResource but
I'm a little confused as to what is considered a 'resource' and what is
considered a 'plugin resource'?
There are
-- Jurian Sluiman subscr...@juriansluiman.nl wrote
(on Tuesday, 27 October 2009, 07:14 PM +0100):
First you need to know this:
A resource (most time) creates something (a view, db, log, whatever). You
might
want to grab this thing, but sometimes you need the access to the plugin
itself.
I have having a difficult time communicating with a supposedly
behaving soap server. I am using Zend_Soap_Client_DotNet and acording
to the wsdl the server is expecting the following to use the service.
Username,
Password,
Request.
I think my settings are correct from what I can tell but
Im in the process of porting an existing application. Currently there are a
number of shell scripts written in a number of scripting languages.
Typically these can be considered owned by particular ZF modules within
the web application in that they supply supportive functionality (like daily
Hi everyone,
I'm trying to change the default error message of Zend_Form_Element_Captcha
element with:
$captcha-addErrorMessage('my error message');
and get the following warning:
Warning: htmlspecialchars() expects parameter 1 to be string, array given in
22 matches
Mail list logo