[fw-general] setting messsages for Zend_Validate_Greater than

2009-05-17 Thread iceangel89
i currently use $validator = new Zend_Validate_GreaterThan(-1); $validator->setMessage("Please select a valid department"); $this->dept = new Zend_Form_Element_Select("dept", array( 'label' => 'Department', 'decorators' => $decorSimple, 'validators' => array($validator) )); how can

Re: Fwd: [fw-general] Proposal for Zend_Search_Xapian

2009-05-17 Thread Matthew Weier O'Phinney
-- Ivo Jansch - Ibuildings wrote (on Sunday, 17 May 2009, 10:54 PM +0200): > I've got a preliminary version working here: http://flackr.net/search > > This is a custom wrapper around Xapian, integrated into Zend Framework > (in custom Flackr_Search_Xapian classes for now but once I've got it a

Re: [fw-general] How to find my Zend Version

2009-05-17 Thread Matthew Weier O'Phinney
-- Jalil F. wrote (on Saturday, 16 May 2009, 08:32 AM -0700): > How do I find out the current version of Zend I am running? echo Zend_Version::VERSION; > Also, if I install 1.8, would that work with an older version? Not entirely sure what you mean here. Do you mean, will an application cre

Re: [fw-general] fetchAssoc($sql) error... please help!

2009-05-17 Thread olivia_dimaunahan
Thanks for your time Mark, the error vanished when I run the same codes in wamp... I don't know what has gone wrong but it seems the culprit is my apache settings... Cheers, Olivia lightflowmark wrote: > > Hi - this is a problem with your Apache / PHP / MySQL setup, not Zend > Framework.

[fw-general] Zend_Db_Select getPart

2009-05-17 Thread enportugal
Hi, I don't know if this is a bug or a 'not feature'. It seams that we can't get the $select->getPart('columns'); and $select->getPart('from'); when using UNION queries. Is this a bug, or simply its not possible to implement? Regards, -- View this message in context: http://www.nabble.

Re: Fwd: [fw-general] Proposal for Zend_Search_Xapian

2009-05-17 Thread Ivo Jansch - Ibuildings
Hi, I've got a preliminary version working here: http://flackr.net/search This is a custom wrapper around Xapian, integrated into Zend Framework (in custom Flackr_Search_Xapian classes for now but once I've got it a bit more stable it's easy to move that to Zend_Search_Xapian). Would it be a

Re: [fw-general] Zend_Application: setOptions() before bootstrap()

2009-05-17 Thread Matt Cockayne
I had the same problem. I got around it by createing a new save handler with an override of and setting the function to public so that it can be called by the resource public function _setupDatabaseAdapter() { if (!$this->_db) { $this->_db = self::getDefaultAdapter();

[fw-general] Whats wrong with my bootstrap?

2009-05-17 Thread Vladimir Mihailenko
test.php: bootstrap(); test.ini: [testing] resources.db.adapter = "pdo_mysql" resources.db.params.host = "localhost" resources.db.params.username = "root" resources.db.params.password = "" resources.db.params.dbname = "root" resources.db.isDefaultTableAdapter = true resources.session.saveHandler

Re: Fwd: [fw-general] Proposal for Zend_Search_Xapian

2009-05-17 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm also working on a Zend_Search_Sphinx implementation. ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/ : ::.

Fwd: [fw-general] Proposal for Zend_Search_Xapian

2009-05-17 Thread Juan Felipe Alvarez Saldarriaga
Wow, I never tried Xapian but seems cool, and has a lot of features, would be nice have another option instead of Lucene into ZF, some help is needed ? let us know :D. Cheers. On Sun, May 17, 2009 at 1:42 PM, Ivo Jansch - Ibuildings wrote: > Hi, > > I'm working with the Xapian search engine (htt

[fw-general] Proposal for Zend_Search_Xapian

2009-05-17 Thread Ivo Jansch - Ibuildings
Hi, I'm working with the Xapian search engine (http://xapian.org). It has some features that Lucene doesn't, and it's quite fast. Since ZF only has one search implementation so far, while I'm at it anyway, I will write Zend_Search_Xapian. Anybody else already working on something like this?

Re: [fw-general] A question on loading Models

2009-05-17 Thread dmitrybelyakov
Jurian Sluiman wrote: > > Hi Dmitry, > You should search for the term module bootstrapping on this list. Create a > Bootstrap class for each module in your module folder and autoloading will > be > ready. There's no need for including the files manually. > R, Jurian > -- > Jurian Sluiman > So

Re: [fw-general] Zend 1.8.0 - Acl and Authorization

2009-05-17 Thread Mon Zafra
I suggest doing ACL checking in an action helper [ http://monzee.wordpress.com/2009/05/17/access-control-why-not-a-helper/]. I don't really see much advantage in doing it in a plugin. -- Mon On Sun, May 17, 2009 at 11:48 PM, Jurian Sluiman wrote: > Op Sunday 17 May 2009 15:11:31 schreef Joa

Re: [fw-general] Zend 1.8.0 - Acl and Authorization

2009-05-17 Thread Jurian Sluiman
Op Sunday 17 May 2009 15:11:31 schreef Joakim Gerth: > Thanks, > Is it written for 1.8.0? > > Jurian Sluiman wrote: > > Op Sunday 17 May 2009 14:33:07 schreef Joakim Gerth: > > > Hi, > > > I am a beginner of Zend framework, had just gone through a couple of > > > books before 1.8.0 showed up. Now I

Re: [fw-general] A question on loading Models

2009-05-17 Thread Jurian Sluiman
Op Sunday 17 May 2009 17:06:40 schreef dmitrybelyakov: > Hello, > > This is a really basic question, so I just want to figure out the best way > to do it. > Lets assume we have a Module that has a Model and a Database Mapper for > that model. > We now want to access this model from other parts of o

[fw-general] A question on loading Models

2009-05-17 Thread dmitrybelyakov
Hello, This is a really basic question, so I just want to figure out the best way to do it. Lets assume we have a Module that has a Model and a Database Mapper for that model. We now want to access this model from other parts of our application like Front Controller Plugin. So what would be the

Re: [fw-general] Zend 1.8.0 - Acl and Authorization

2009-05-17 Thread Joakim Gerth
Thanks, Is it written for 1.8.0? Jurian Sluiman wrote: Op Sunday 17 May 2009 14:33:07 schreef Joakim Gerth: > Hi, > I am a beginner of Zend framework, had just gone through a couple of > books before 1.8.0 showed up. Now I have finished doing the quickstart, > and everything works fine. > > Whe

Re: [fw-general] Zend 1.8.0 - Acl and Authorization

2009-05-17 Thread Jurian Sluiman
Op Sunday 17 May 2009 14:33:07 schreef Joakim Gerth: > Hi, > I am a beginner of Zend framework, had just gone through a couple of > books before 1.8.0 showed up. Now I have finished doing the quickstart, > and everything works fine. > > When trying to get going with the Acl and Auth I pretty much g

[fw-general] Zend 1.8.0 - Acl and Authorization

2009-05-17 Thread Joakim Gerth
Hi, I am a beginner of Zend framework, had just gone through a couple of books before 1.8.0 showed up. Now I have finished doing the quickstart, and everything works fine. When trying to get going with the Acl and Auth I pretty much get stuck from start. I am a little confused on how to ini

Re: [fw-general] Website logo image colors wrong

2009-05-17 Thread Andrea Turso
I never liked the home page of framework.zend.com, I hate that emboss effect of the logo and with the background. It really hurts my eyes lol Why not using just a plain logo with a light background shadow? On Sun, May 17, 2009 at 7:48 AM, thurting wrote: > > There is a color issue with > http://