I prefer combination of the following methods:
1. Check the uniqueness using a SELECT query.
2. Display error
3. After fixing error, execute data modification statemenet.
4. In case of error I can do either of the following:
4.1. parse error message and display error or if it fails
4.2. just show t
You might need to extend DB_Table and add an extra option. Is there
such an API that already uses this and wraps with acls for groups /
rights / permissions from a db ?
On 28/09/2007, at 7:19 PM, Michael Raymond wrote:
Hi all,
How can I achieve to authenticate users only if the user match
Not sure what the answer is re: Zend_Db. Maybe Bill can answer when he's
back.
While MySQLi today is considered more mature, as Zend_Db is built on the
PDO interface there may be advantages to using pdo_mysql. Also, MySQL
has committed to PDO which means that any shortcomings will be
addressed.
Yo
Hi,
I understand that checking for a value's uniqueness against a db table
within in application is not a stable method and should not be relied upon
but the exception message thrown by a save attempt when a value is not
unique really doesn't make much sense to the user
Caught exception: Zend_Db
I try to use LDAP (Active Directory) Adapter to do the authentication against
Microsoft AD server using Ldap.php from the Zend Framework web site. Is
there any more information regarding how to use Ldap to bind to the AD
server?
--
View this message in context:
http://www.nabble.com/Ldap-authent
Hi till,
Thanks for the reply.
I'll take that under consideration. Probably in order to have some sort of
standard I will probably define that all admin actions for a given 'module'
will be put under a AdminSomethingController and put in init the
Zend_Auth/Acl to control the access to authentic
The return value of insert method of Zend_Db_Table_Abstract is a The primary
key of the row inserted. However When I try to access the return value, it
is just null, the new row has been successfully insert into table.
Is there anyway we can get the primary key of this newly inserted row?
Thanks
so i have model (Zend_Db_Table_Row) and i pass data from model to
Zend_Filter_Input ($model->toArray()) and after i check if
$input->isValid() returns true i would like to save model with data
from Zend_Filter_Input because filters and validators are already
applied.
Zend_Filter_Input has setData(
Hi,
I'll remedy this oversight today. Thanks for the report!
Best regards,
Darby
Kamil wrote:
> There is no link in menu.
>
Jurriën -
-- Jurriën Stutterheim <[EMAIL PROTECTED]> wrote
(on Friday, 28 September 2007, 03:28 PM +0200):
> My Form proposal is a bit out of date (I need to find some time and
> patience to update it ;), but the general idea I'm describing is
> still valid.
I've been reading through all thr
I personally like mysqli.
On 9/28/07, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote:
> -- Aljosa Mohorovic <[EMAIL PROTECTED]> wrote
> (on Friday, 28 September 2007, 02:39 PM +0200):
> > is there any difference in using MYSQLI or PDO_MYSQL?
>
> Yes. There are some methods that are specifically
-- Aljosa Mohorovic <[EMAIL PROTECTED]> wrote
(on Friday, 28 September 2007, 02:39 PM +0200):
> is there any difference in using MYSQLI or PDO_MYSQL?
Yes. There are some methods that are specifically implemented in mysqli
that are not available to pdo_mysql (multi_query comes to mind). That
said,
I want to make a model of a Tag table in a database. I want to be able to add
tags to many different other object such as Bugs or comments or products or
anything like that, but still have only one controller with the create,
remove, update, and delete actions. This would mean sticking to the Don'
There is no link in menu.
Try this one...
http://framework.zend.com/manual/en/zend.currency.html
Greetings
Thomas
I18N Team Leader
- Original Message -
From: "holografix ." <[EMAIL PROTECTED]>
To:
Sent: Friday, September 28, 2007 3:16 PM
Subject: [fw-general] Zend_Currency Documentation
Hi
Am I missing so
Hi Matthew,
My Form proposal is a bit out of date (I need to find some time and
patience to update it ;), but the general idea I'm describing is
still valid.
To get a better picture of how I invisioned Zend_Form you could check
out my implementation from it's SVN:
http://tools.assembla.c
Hi
Am I missing something ? I can't find any documentation for Zend_Currency,
recently promoted to core.
Cheers
holo
try this:
$authAdapter->setCredentialTreatment('? AND status=1')
however you should save your password encypted, and use something like this:
$authAdapter->setCredentialTreatment('PASSWORD(?) AND status=1')
niko
Am Freitag, 28. September 2007 schrieb Michael Raymond:
> Hi all,
>
> How can I ac
is there any difference in using MYSQLI or PDO_MYSQL?
Aljosa
is there any difference in using MYSQLI or PDO_MYSQL?
Aljosa
>
> Does anyone use ZF on RHEL5 using its standard PHP 5.1 package? If so does
> ZF work fully?
AFAIK the min PHP version for ZF is 5.1.4, RHEL5 comes with 5.1.6 as default
so should work without any issues as long as you have the extensions for PDO
etc enabled if you require DB access.
Regards
Hi,
Does anyone use ZF on RHEL5 using its standard PHP 5.1 package? If so does ZF
work fully?
Keith Pope
Web Developer
--
allpay.net Limited, Fortis et Fides, Whitestone Business Park, Whitestone,
Hereford, HR1 3SE.
Registered in England No. 02933191. UK VAT Reg. No. 666 9148 88.
Telepho
-- Waigani <[EMAIL PROTECTED]> wrote
(on Thursday, 27 September 2007, 04:10 PM -0700):
> $request = Zend_Controller_Front::getInstance()->getRequest();
> print_r($request);
>
> in the bootstrap index.php prints nothing.
Because it's not yet instantiated.
$front->dispatch() creates a request ob
-- Ralph Schindler <[EMAIL PROTECTED]> wrote
(on Thursday, 27 September 2007, 03:25 PM -0500):
> Actually, I did find that Rowset->toArray() does indeed return a
> reference to a protected member of the rowset object instead of an
> array. I marked that as a bug for rowset.
>
> http://framework.z
Hi all,
How can I achieve to authenticate users only if the user match their
password and the status is active?
(in the user table status field value 1=active; 0=inactive)
AuthController
$authAdapter->setTableName($config->system->userTableName);
$authAdapter->setId
Pádraic, Matthew,
Thank you both for your excellent explanation. It's a lot clearer to me now.
All that's left to do is try it out and see how to implement both in my
application.
I'll report back the results.
Thanks,
Martin
On 9/26/07, Pádraic Brady <[EMAIL PROTECTED]> wrote:
>
> Hi Martin
>
Hi all.
I am new to Zend Framework and i have some questions that I could not find
any answer by google-ing.
For example: i have a regular category->products website. In the index
controller i have just an index method that will list some welcome messages
etc. I also have a controller named prod
It's getting worse with the time.
The day before yesterday I could not forward to module but I could forward
to action/controller
But sicne yesterday I cannot even forward to a controller, only action !!
Instead of telling me that it doesn't find the action in the current
cotnroller,
the error
28 matches
Mail list logo