[fw-general] Zend_Date error in conversion from timestamp

2009-10-27 Thread umpirsky
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',

[fw-general] Multiselect selected values

2009-10-27 Thread ajitk15
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');

Re: [fw-general] Zend_Date error in conversion from timestamp

2009-10-27 Thread drm
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) ---

Re: [fw-general] Subforms and subforms

2009-10-27 Thread Jurian Sluiman
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

Re: [fw-general] Zend_Date error in conversion from timestamp

2009-10-27 Thread Саша Стаменковић
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

[fw-general] variable number of table rows and zend form/Action

2009-10-27 Thread KimG
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

Re: [fw-general] Multiselect selected values

2009-10-27 Thread drm
ajitk15 wrote: $groups = new Zend_Form_Element_Select('group'); $groups -setLabel('Groups:') -setAttrib('multiple','multiple') Hi, you should use Zend_Form_Element_Multiselect for

Re: [fw-general] Multiselect selected values

2009-10-27 Thread ajitk15
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:')

Re: [fw-general] application.ini adaptation for php 5.3

2009-10-27 Thread Philip G
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

[fw-general] Zend Cache Backend [performance]

2009-10-27 Thread Amir Bilal
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

Re: [fw-general] application.ini adaptation for php 5.3

2009-10-27 Thread Matthew Weier O'Phinney
-- 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

[fw-general] re[fw-general] source vs. pluginresource

2009-10-27 Thread ljs629
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 =

[fw-general] Zend Framework 1.9.5 Released

2009-10-27 Thread Matthew Weier O'Phinney
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:

Re: [fw-general] re[fw-general] source vs. pluginresource

2009-10-27 Thread Matthew Weier O'Phinney
-- 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

[fw-general] Zend_AMF: Multiple typed objects not being passed correctly to functions

2009-10-27 Thread Richard Chiswell
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

Re: [fw-general] re[fw-general] source vs. pluginresource

2009-10-27 Thread Jurian Sluiman
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

[fw-general] Re: re[fw-general] source vs. pluginresource

2009-10-27 Thread ljs629
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

Re: [fw-general] Re: re[fw-general] source vs. pluginresource

2009-10-27 Thread Matthew Weier O'Phinney
-- 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

Re: [fw-general] re[fw-general] source vs. pluginresource

2009-10-27 Thread Matthew Weier O'Phinney
-- 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.

[fw-general] Sorting out soap communicating with .net

2009-10-27 Thread Mr. Eric Eugene Naujock
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

[fw-general] Creating CLI scripts utilizing ZF

2009-10-27 Thread prodigitalson
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

[fw-general] captcha addErrorMessage warning

2009-10-27 Thread lmcosorio
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