Re: [fw-general] Debug Warning Zend Loader line 165

2009-09-08 Thread Ralph Schindler
Ed Lazor wrote: Should I expect to see these debug warnings when debugging my ZF-based application in Zend Studio? Debug Warning: /www/lib/zend/ZendFramework-1.9.2/library/Zend/Loader.php line 165 - fopen(/www/vhosts/local.test.com/application/views/helpers/Url.php) [function.fopen]: failed to

Re: [fw-general] zf tool: no way to delete yet?

2009-09-08 Thread Ralph Schindler
Hey David, This functionality is slated for 1.10. It was left out of the 1.8 and 1.9 release for a couple of good reasons. Since deleting is a pretty irreversible action, and sometimes is also a recursive action- we wanted to ensure that the console/cli interface at least had the capability

[fw-general] Re: Zend_Search_Lucen setting rank of individual field

2009-09-08 Thread Joó Ádám
Any idea? Someone? Á On Mon, Aug 31, 2009 at 4:39 PM, Joó Ádám wrote: > Hi, > > I’m a bit confused about Zend_Search_Lucen’s query boosting. How can I > specify how valuable is a hit on a specific field? E.g. i want an > expression to have a higher rank in a title field than in a content > field

[fw-general] zf tool: no way to delete yet?

2009-09-08 Thread David Mintz
Suppose you created controller foo with the cli tool but then you changed your mind. I don't suppose there's way to 'zf delete controller foo' so that .zfproject.xml will stay in sync with reality. Or is there? Meanwhile... delete it manually and don't worry about .zfproject.xml? Or... bleh... upd

Re: [fw-general] Re: unit testing front controller plugin: $front->getParam('bootstrap') returns NULL

2009-09-08 Thread David Mintz
On Sat, Sep 5, 2009 at 6:19 AM, Jens Kleikamp wrote: > David Mintz wrote: > >> Playing around with Zend_Application and friends, I made a Bootstrap.php >> which does this: >> >> protected function _initLog() { >> >>printf ("running %s:%s()\n",__CLASS__,__FUNCTION__); >>return new Z

Re: [fw-general] view helpers within a view helper

2009-09-08 Thread neobeacon
=)Thanks -- View this message in context: http://www.nabble.com/view-helpers-within-a-view-helper-tp25351769p25352263.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] view helpers within a view helper

2009-09-08 Thread Hector Virgen
If you extend Zend_View_Abstract, your view helper will have the view set as the $view property of the class, allowing you to call other helpers like this: $this->view->someOtherHelper(); Or, you can add your own setView() method public function setView(Zend_View_Interface $view) { $this->vie

[fw-general] view helpers within a view helper

2009-09-08 Thread neobeacon
I create a view helper to show comments for a article.(by getting article_id from comments table and using foreach to get each comment). But in comment table only has commentator's id. I used a view helper to convert user_id to get the user name. With in a view helper can I call another view he

[fw-general] Debug Warning Zend Loader line 165

2009-09-08 Thread Ed Lazor
Should I expect to see these debug warnings when debugging my ZF-based application in Zend Studio? Debug Warning: /www/lib/zend/ZendFramework-1.9.2/library/Zend/Loader.php line 165 - fopen(/www/vhosts/local.test.com/application/views/helpers/Url.php) [function.fopen]: failed to open stream: No suc

[fw-general] Why serialize twice for Zend_Cache?

2009-09-08 Thread Ryan Chan
Hello, I am using Zend_Cache with Zend_Cache_Backend_Memcached (which is using php_memcache) extension. Since the php_memcache extension already do serialization automatically, but Zend_Cache would need me to serialize me before saving into cache, so this turn out that the data actually stored i

Re: [fw-general] Zend_Validate::is() runs constructor with wrong parameters

2009-09-08 Thread Thomas Weidner
I just wonder how the Int validator should check if a value is between something as it just checks if a given value is a integer or not. Shouldn't in your case Zend_Validate_Between be used ? For Zend_Validate_Int the question is where the "1" comes from. As you did not provide an example how

[fw-general] Zend_Validate::is() runs constructor with wrong parameters

2009-09-08 Thread Dennis Becker
II have recently switched ZF Version from 1.7.4 to ZF 1.9.2 and I ran into a problem with Zend_Validate::is() and Zend_Validate_Int. A variable should be checked if it is an integer and between 1 and 31 - nothing special so far. But Zend_Validate calls Zend_Validate_Int with "1" as parameter for th

Re: [fw-general] Zend Framework QuickStart

2009-09-08 Thread Diego Potapczuk
I think one of the things that he is complaining is that the process of doing models in the Zend Framework is not well defined yet, it is not a problem for advanced programmers that know how to architect the system in a good way, but really trouble for new programmers. But i think it may get bette

Re: [fw-general] Zend Framework QuickStart

2009-09-08 Thread Matthew Weier O'Phinney
-- bizhat wrote (on Monday, 07 September 2009, 08:00 PM -0700): > I have been trying to study Zend Framework. I have followed Zend Quick start, > the database part looks very complex. > > http://framework.zend.com/docs/quickstart/create-a-model-and-database-table > > This is how every one create

[fw-general] How to config multiple menus ?

2009-09-08 Thread bgy
Hi, Zend_Navigation likes to be really helpful for me ! But there are some cases on which i couldn't find enough documentation. What I would have liked, is to be able to create multiple menus without instancing different Zend Navigation object. Here is an UC : a main menu with a 'Home' root.

[fw-general] Re: Zend_Validate_NotEmpty and unchecked radio button marked as required fields

2009-09-08 Thread Martin Carpentier
Hi again, Just following up on the issue I previously described to see if someone can confirm the issue and to see if there's a different(better) solution for it. It's a problem that need to be solved before I can upgrade our application to 1.9.x because it messes with our custom error messages an

[fw-general] zend_form:display validation and error messages

2009-09-08 Thread riyas
I have a common ‘Contact Form’ in my project which is called in most of pages like index, about us etc. this page accept user inputs and sent an email to admin, then return back to the page, from which it is called Code for contact form is class Form_Contactus extends Zend_Form { publi