Re: [fw-general] Application Resources Access

2009-10-07 Thread Саша Стаменковић
Yes, you're right, but the only bad thing is writing: Zend_Controller_Front::getInstance()-getParam('bootstrap')-getResource('cache'); v.s. Zend_Registry::get('cache'); and maybe using Zend_Registry is faster? Regards, Saša Stamenković On Tue, Oct 6, 2009 at 5:21 PM, Hector Virgen

Re: [fw-general] descending sorting using object of Zen_Db_Select()

2009-10-07 Thread alayn
http://framework.zend.com/manual/en/zend.db.select.html#zend.db.select.building.order In Zend_Db_Select, you can use the order() method to specify a column or an array of columns by which to sort. Each element of the array is a string naming a column. Optionally with the ASC DESC keyword

[fw-general] zend form label column width

2009-10-07 Thread Ralikwen
Hi, I can't find the way to set the columnwidht for the label when created like this: elementDecorators.label.decorator = Label elementDecorators.label.decorator.tag = td I tried the following line, but it puts the attribute into the label tag instead of the td tag:

Re: [fw-general] descending sorting using object of Zen_Db_Select()

2009-10-07 Thread attractive eyes
hi alayn, great thanks for your help attractive eyes wrote: hi all, I am using the function given below to sort data and the direction of sorting is ascending. now I want to sort data in descending order, but I am not getting idea about it and it is mandatory for me to use the

[fw-general] Re: [zf-contributors] Re: [fw-general] Simple Cloud API Proposals

2009-10-07 Thread Matthew Ratzloff
Hi Wil, I think any queue class should follow the conventions set forth by Zend_Queue (by extending or implementing the appropriate adapter class). This looks like a major oversight in Zend_Cloud_Queue's API. -Matt On Tue, Oct 6, 2009 at 7:44 AM, Matthew Weier O'Phinney matt...@zend.comwrote:

Re: [fw-general] Problem with Form Select and InArray Validator

2009-10-07 Thread Ralikwen
Hi, I can see that I can disable it, but how can you change only the error message of the autoregistered inArray validator in the config file? Thx. SWK Matthew Weier O'Phinney-3 wrote: -- Arthur M. Kang art...@levelogic.com wrote (on Thursday, 04 September 2008, 09:37 AM -0700): After

Re: [fw-general] Re: [zf-contributors] Re: [fw-general] Simple Cloud API Proposals

2009-10-07 Thread Matthew Weier O'Phinney
-- Matthew Ratzloff m...@builtfromsource.com wrote (on Wednesday, 07 October 2009, 07:55 AM -0700): I think any queue class should follow the conventions set forth by Zend_Queue (by extending or implementing the appropriate adapter class).  This looks like a major oversight in

[fw-general] Re: WELCOME to fw-general-dig...@lists.zend.com

2009-10-07 Thread vikram . melonfire
Hello I have a form with 3 file fields, set using multiFile(). Once the form is submitted: - how do I find out how many files were actually uploaded (could be between 0 and 3)? - how do I iterate over the uploaded files array? I basically need to rename the files as ID_1.ext, ID_2.ext etc. The

[fw-general] Zend_Translate addTranslation

2009-10-07 Thread ignace
Hi, I have a problem: Zend_Translate loads by default the browser's default language (in my case nl) Then through a navigation I can alter the language in which I want to see the website but it doesn't change it a closer look showed that Zend_Translate indeed retrieves the translation source as

Re: [fw-general] zend form label column width

2009-10-07 Thread Hector Virgen
You would be better off using CSS for this. Add a class name of label to your td and include this style rule: form td.label{ width: 200px; } -- Hector On Wed, Oct 7, 2009 at 2:40 AM, Ralikwen balazs.kl...@gmail.com wrote: Hi, I can't find the way to set the columnwidht for the label

Re: [fw-general] Zend_Translate addTranslation

2009-10-07 Thread Thomas Weidner
You should give some reproducable code from your side instead of code from ZF. Looking at your result you should ask yourself what you are doing that the nl files are read as en. Because Zend_Translate has no way to detect for which language the content of a file is when the directory or

[fw-general] zendx stop inside of child process

2009-10-07 Thread Tim Rupp
Hi all, I'm extending the Console_Process_Unix class per the example in the documentation and wanted to call the stop() method inside of the _run() method. I was hoping this would trickle up to the code where I actually instantiate the class and call $process-start(), but it doesn't look like it

Re: [fw-general] Zend_Translate addTranslation

2009-10-07 Thread ignace
Ok the code i used is: if ($this-_hasParam('language')) { $language = $this-_getParam('language'); if ($bootstrap = $this-getInvokeArg('bootstrap')) { $translateResource = $bootstrap-getPluginResource('Translate');

RE: [fw-general] Simple Cloud API Proposals

2009-10-07 Thread Wil Sinclair
Nope. Just haven't implemented them yet. The story on the site is that Forrest Lyman (of Digitalus fame) and I designed it from scratch to use the Simple Cloud API. Unfortunately- or rather fortunately- the announcement got *way* more attention from the press than we expected, which took up

RE: [fw-general] Simple Cloud API Proposals

2009-10-07 Thread Wil Sinclair
I actually contacted Salesforce about the project before launch. I haven't heard back from them yet, but they are interested in how Zend Framework could be used on their platform. Maybe you can tell me if they have services for which Simple Cloud API adapters are appropriate. Keep in mind that

[fw-general] Zend_Acl roles and permission on action

2009-10-07 Thread tomascejka
I read about Acl and I think about roles and permisson and I want to ask if there is necessary make implementation on database layer. I mean persisting permissions with relations to roles strutured in tree structure. As I have read about Acl there is a possibility that it is not necessary to