I have two terms in document: title and text. I want to boost term title:
$doc = new Zend_Search_Lucene_Document();
$title = Zend_Search_Lucene_Field::unStored('title', '...');
$title-boost = 100;
$doc-addField($title);
$text = Zend_Search_Lucene_Field::unStored('text', '...');
To connect to table Animals I write:
$model = new Model_DbTable_Animals();
In documentation:
http://framework.zend.com/manual/en/zend.auth.html
I have:
$authAdapter = new Zend_Auth_Adapter_DbTable(
$dbAdapter,
'users',
'username',
'password'
);
But I don't have dbAdapter so
Somewhere in your bootstrapping you would have created and adapter that you
use to connect to your db.
This is the dbAdapter you pass in, for example:
*$dbAdapter = Zend_Registry::get('db');*
$authAdapter = new Zend_Auth_Adapter_DbTable($dbAdapter);
$authAdapter-setTableName('customers')
My login action is in controller AuthController in action LoginAction().
If I use Zend_Auth_Storage_Session() to store username logged persons and I
would like to create that only logged users can go to action addBookAction()
and removeBookAction() in controller LibraryController - should I add
My login action is in controller AuthController in action LoginAction().
If I use Zend_Auth_Storage_Session() to store username logged persons and I
would like to create that only logged users can go to action addBookAction()
and removeBookAction() in controller LibraryController - should I add
Seems that aoohralex has a new name - aaabbbcccdaabb... :-)
--
Regards,
Vladas Diržys
On Mon, Sep 21, 2009 at 14:36, aaabbbcccdaabb aaabbbcccda...@gmail.comwrote:
My login action is in controller AuthController in action LoginAction().
If I use Zend_Auth_Storage_Session() to store username
2009/9/19 Sudheer Satyanarayana sudhee...@binaryvibes.co.in
On Friday 18 September 2009 07:09 PM, Sudheer Satyanarayana wrote:
the tutorial recommends including a test class that extends
Zend_Test_PHPUnit_ControllerTestCase in the test bootstrap. I think it is a
bit awkward for your
-- josh.ribakoff josh.ribak...@gmail.com wrote
(on Sunday, 20 September 2009, 03:00 PM -0700):
It depends, controllers are part of the presentation layer,
Umm, not really. Controllers take the request, and determine what
view(s) and/or model(s) need to be instantiated. The view is the actual
Hello all
On one of my test servers, I have the following installed:
PHP 5.3.0-0.dotdeb.8 with Suhosin-Patch 0.9.7 (cli) (built: Aug 13
2009 09:06:57)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
I have configured my system as follows...
Hi Ralph (and the rest),
Did you manage to replicate the issue? If not, I'll post a more complete case
online :) .
Thanks, Jurian
--
Jurian Sluiman
Soflomo.com
Op Tuesday 15 September 2009 09:27:45 schreef Jurian Sluiman:
Hi Ralph,
Thanks for your helping hand! I have a resource adding all
Nobody know that?
From: kaiohken1...@hotmail.com
To: fw-general@lists.zend.com
Date: Mon, 21 Sep 2009 04:48:34 +0200
Subject: [fw-general] Navigation view helper and nofollow links
Hello,
I use to build menu in my application using
$this-navigation()-menu($container)
where
Hi,
I'm trying to query Lucene with result limit but I do not obtain last records
as I expected, this is my code
Zend_Search_Lucene::setResultSetLimit(5);
$last =
$index-find($query,'dateUpdated',SORT_REGULAR,SORT_DESC);
If I omit the limit, it is ok, I have
Hi
My checked checkboxes are missing in the Post.
I'm making checkboxes like this:
$group = new Zend_Form_Element_MultiCheckbox('groups');
$group-addMultiOption(1,'A');
$group-addMultiOption(2,'B');
$group-addMultiOption(3,'C');
$form-addElement($group);
They look good in the html, and when
Hi,
I am not sure if this is your solution, but after you instanciate the form, try
to set RegisterInArrayValidator to false
$form = new Your_Form(); // just an example
$form-groups-setRegisterInArrayValidator(false);
Give it a try.
Bye
Date: Mon, 21 Sep 2009 16:58:15 +0200
From:
hi,
i have created a zend based application and implemented db table based
authentication mechanism, where in i have a table and i authenticate the
users against the details in the table, on new user registration this table
gets updated.
is thr any way i can achieve seamless integration between
Unfortunately that didn't help.
The $_POST gives me
['groups'] = Array ( [0] = 2 [1] = 3 [2] = 4 )
But $form-getValues() still gives me
['groups'] =
Sergio Rinaudo skrev:
Hi,
I am not sure if this is your solution, but after you instanciate the
form, try to set RegisterInArrayValidator
By the way, I'm using ZF version 1.8.3
Anders Gunnarsson skrev:
Unfortunately that didn't help.
The $_POST gives me
['groups'] = Array ( [0] = 2 [1] = 3 [2] = 4 )
But $form-getValues() still gives me
['groups'] =
Sergio Rinaudo skrev:
Hi,
I am not sure if this is your solution, but
Hi
This code works fine with ZF 1.9.2 but not with latest trunk.
$startdate = new Zend_Form_Element_Text('startdate');
$startdate-setLabel('Start date:')
-addValidator(
'Date', true, array(
'messages' = array(
'dateInvalidDate'
There were 2 messages regarding format.
NOT-MM-DD and FALSEFORMAT...
The first was thrown when no application wide locale was set and the second
one when it was set.
This lead to the problem that people set only the first one, afterwards
setting an application wide locale and then the
Hello!
What do you think about new proposal Zend_Application_Resource_Dojo?
It will resource plugin that helps automate Dojo bootstraping to ZF
application.
For integrating Dojo only need it add to application.ini (or other config):
resources.dojo.djConfig.isDebug = 1
I think it would be great ;)
On Mon, Sep 21, 2009 at 10:02 PM, Georgy Turevich georgy.turev...@gmail.com
wrote:
Hello!
What do you think about new proposal Zend_Application_Resource_Dojo?
It will resource plugin that helps automate Dojo bootstraping to ZF
application.
For integrating
Hi Thomas
Thank you very much. Missed that change.
Cheers
holo
2009/9/21 Thomas Weidner thomas.weid...@gmx.at
There were 2 messages regarding format.
NOT-MM-DD and FALSEFORMAT...
The first was thrown when no application wide locale was set and the second
one when it was set.
This lead
-- Georgy Turevich georgy.turev...@gmail.com wrote
(on Monday, 21 September 2009, 10:02 PM +0400):
What do you think about new proposal Zend_Application_Resource_Dojo?
It will resource plugin that helps automate Dojo bootstraping to ZF
application.
For integrating Dojo only need it add to
2009/9/21 Vladas Diržys vladas.dir...@gmail.com
Seems that aoohralex has a new name - aaabbbcccdaabb... :-)
Clever, huh? I guess that's the Pseudonym Pattern.
--
David Mintz
http://davidmintz.org/
The subtle source is clear and bright
The tributary streams flow through the darkness
Borrowed from the Alcoholic's Alias program where everyone drinks under assumed
names
:-)
Also, if you were around in 'the day': Land Shark.
-- Sean
- Original Message -
From: David Mintz
To: fw-general@lists.zend.com
Sent: Monday, September 21, 2009 11:54 AM
Subject: Re:
For those who get the same problem,
I solved it by populating the post again.
$form-populate($_POST);
It still feels like I'm doing something wrong,
but this works for now.
Anders Gunnarsson skrev:
Unfortunately that didn't help.
The $_POST gives me
['groups'] = Array ( [0] = 2 [1] = 3 [2]
That's correct, the form cannot populate its own values because it knows
nothing about $_POST or $_GET. Your controller must pass that to the form.
If you're also using validation in your forms, there's a shortcut you can
use that checks if the data is valid and populates the form:
if
I just noticed this and wasted some time trying to debug my code until I
found this bug in the documentation. I'm not sure why and how they added
this change.
--
View this message in context:
http://www.nabble.com/Zend_Db_Select%3A%3Aunion%28%29-behaving-tp21716437p25530470.html
Sent from the
If you want to load into the session a $user object holding the results of a
JOIN query, is there any way to beat getResultRowObject() into cooperating,
other than subclassing Zend_Auth_Adapter_DbTable and overriding the method?
From what I have read (including source code) I think extending the
On Mon, Sep 21, 2009 at 4:56 PM, David Mintz da...@davidmintz.org wrote:
If you want to load into the session a $user object holding the results of
a JOIN query, is there any way to beat getResultRowObject() into
cooperating, other than subclassing Zend_Auth_Adapter_DbTable and overriding
On Monday 21 September 2009 10:29:59 pm william0275 wrote:
I just noticed this and wasted some time trying to debug my code until I
found this bug in the documentation. I'm not sure why and how they added
this change.
hello, the API docs are wrong about how union works. It has to be used:
how often are the PDF and online versions of the documetation updated?
--
View this message in context:
http://www.nabble.com/Are-the-PDF-or-online-docmentation-updated--tp25530543p25530543.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Hi list,
I've added encryption to Zend_Pdf by a little tweak the code. Please take a
look here :
http://tuanngominh.wordpress.com/2009/09/21/encryption-for-zend_pdf/ .
Hope you guys like it. It's my first contribution, hope it may helps
Zend_Pdf user.
My feeling is the encryption feature will
Hi all,
I'm building a standard CMS with Zend Framework with the typical modules:
Pages, News, Blog, Gallery, etc.
Each module will have an section in the CMS admin/back-end. Just wondering
which way would be the best to layout the structure.
Ultimate, I would like front-end modules to be
-- iceangel89 comet2...@gmail.com wrote
(on Monday, 21 September 2009, 07:22 PM -0700):
how often are the PDF and online versions of the documetation updated?
The online version is updated with each mini release (2nd and 4th
Tuesdays of the month). PDF version on zend.com has not been updated
Hi everyone, I just wanted to see if anyone else had had a good long think
about this sort of thing before I decided one way or the other.
Basically I have been playing with the context switch action helper, and it
has opened a whole new world of possibilities in terms of application
structure,
Maybe you can do a special route for this. Something like /admin/blog
redirect to adminController in blog module, ou adminBlogController, i dont
know, but is an idea for you.
::: Diego Potapczuk
»» NEAD - Núcleo de Educação a Distância
»» SENAI-BA
»» Tel: (71) 3287-8343 / (71) 9144-3062
»»
37 matches
Mail list logo