http://framework.zend.com/manual/en/zend.db.table.relationships.html
http://framework.zend.com/manual/en/zend.db.table.relationships.html
Try something like this in your model:
public function consultaCadastro() {
$select = parent::select();
$select->setIntegrityCheck(false);
$select->fro
In the code below I have added the EmailAddress validator. In the case of
this validator and the others, where can I find out what options I am able
to pass to them?
For example 'validators' => array(array('EmailAddress', false, array('WHAT
OPTIONS CAN I PUT HERE?))),
$this->addElement('text', 'e
Finally solved,
thank you MSchraeder for your great advices.
I've changed the field type of 'categories_url' from 'keyword' to 'text',
then I stored its data without hyphens.
I've also removed commas, all terms are separated by a space.
And it is working!
Thank you
Sergio Rinaudo
Date: Tue, 21
I've passed the Zend_translate object to the front controller's registry with
$front->setParam('Zend_Translate', $translate);
I don't want to pass this $translate object to another registry, wich is
necessary to use the object in the Zend_View_Helper_Translate class.
To make everything work i
So you are passing translate as an invoke argument on the Front
Controller? You already have the translate object instantiated so
adding a reference has no real overhead.
I dont believe there is an easy way to achieve what the registry
achieves with translate.
2009/4/21 Alesso :
>
> Can no one he
Can no one help me? What does the typical usage of Zend_Translate and the
Front Controller look like?
--
View this message in context:
http://www.nabble.com/Zend_View_Helper_Translate-Usage-tp23111363p23164912.html
Sent from the Zend Framework mailing list archive at Nabble.com.
The reason for this behaviour can be found in the manual for Zend_Currency
which causes the problem as you already noted:
http://framework.zend.com/manual/en/zend.currency.usage.html...
"Note that Zend_Currency only accepts locales which include a region. This
means that all locales that only i
On Tue, Apr 21, 2009 at 11:29 AM, Ralph Schindler
wrote:
>
>> the latest features in PHP, allow registries to be moved/distributed,
>
> Whats that mean?
Currently, a PEAR registry, (the installed packages, list of what is
installed, related data files etc), is closely tied to the filesystem
where
I am finding that for some reason I am getting error messages in my
logs that read as such.
No region found within the locale 'en'
When I decided to take a look I set my browser the use a locale first
of 'en' then 'en_US'. When I do so I get errors in my logs that would
read like above. I
the latest features in PHP, allow registries to be moved/distributed,
Whats that mean?
-ralph
Google helped me figure it out. Would someone mind commenting on what I
should have been looking for in the ZF source code in order to figure this
out myself?
$this->addElement('text', 'l_title', array(
'decorators' => $this->_defaultDecorators,
'required' => true,
Luke is really an awesome tool!
After I selected my search index I've got everything as expected.
Also the 'categories_url' field is I-S, Indexed and Stored hopefully
like I've specified in My_Search_Lucene_Document class:
$this->addField(Zend_Search_Lucene_Field::Keyword( 'categories_
How would I set the optional value for the validator Alnum to true using the
addElement syntax below?
$this->addElement('text', 'l_description', array(
'decorators' => $this->_defaultDecorators,
'label'=> 'Link Description',
'required'=> false,
2009/4/21 Jalil F. :
>
>
> Thanks. I see the new rules:
>
> RewriteEngine On
> RewriteCond %{REQUEST_FILENAME} -s [OR]
> RewriteCond %{REQUEST_FILENAME} -l [OR]
> RewriteCond %{REQUEST_FILENAME} -d
> RewriteRule ^.*$ - [NC,L]
> RewriteRule ^.*$ /index.php [NC,L]
Change the above to
RewriteRule ^.*
RewriteBase /Stage
On Tue, Apr 21, 2009 at 4:24 PM, Jalil F. wrote:
>
>
> Thanks. I see the new rules:
>
> RewriteEngine On
> RewriteCond %{REQUEST_FILENAME} -s [OR]
> RewriteCond %{REQUEST_FILENAME} -l [OR]
> RewriteCond %{REQUEST_FILENAME} -d
> RewriteRule ^.*$ - [NC,L]
> RewriteRule ^.*$ /in
Thanks. I see the new rules:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ /index.php [NC,L]
However, I still have the same question. Could you help?
Thanks,
-Jali
On Fri, Apr 17, 2009 at 1:16 PM, Christoph Dorn
wrote:
>> There's a lot of interesting things going on with Pyrus (the next
>> version of the PEAR installer) and Helgi and I will be coordinating a
>> Pyrus hacking session at |Tek. We'd be happy to answer any questions
>> in person, and welcome any
Then your best bet would be to actually check what is in the index
itself. There's a chance your tokenizer could be messing up because of
the hyphens in your search terms. If you run Luke, the Lucene Index
Toolbox, you'll be able to look at exactly what is in each field, top
terms in each field, a
I personally use this method a lot in my code, and recently found a
great blog post from David Caylor about how to utilize SubForms to
achieve this.
http://davidcaylor.com/php/building-table-based-forms-in-zend_form
He also is talking about the use of tables for form layout, but I
found the creat
-- Justin Barnes wrote
(on Monday, 20 April 2009, 04:43 PM -0500):
> I've begun playing with Zend_Application. I really like the Idea. However I am
> struggling with how to organize the bootstrap and associated files within my
> project. This is my current setup ...
>
> index.php
>
>
>
> appli
-- Guillaume Oriol wrote
(on Monday, 20 April 2009, 09:13 AM -0700):
> Hi, I discovered an issue with the javascriptCaptureStart/javascriptCaptureEnd
> function pair. When the captured text exceeds a certain limit (about 50kB in
> my
> case), the function returns only a semi-colon. I have the fol
21 matches
Mail list logo