This may be a bit of a noob question, but I'm having difficulty figuring out
how to autoload/call a class that's in the library of my directory
structure. The directory structure is as follows:
- application
- configs
- modules
- auth
- controllers
- ...
Hi,
I'm currently building a portal that will have a growing number of modules
running through this single portal and I've failed to completely figure out
how to get it all running. I've plowed through dozens of different posts
and threads about this, but can't quite wrap my head around what part
Fixed! Thanks to some help I figured out that it was a problem with the
expression. I changed the expression to:
/^[-'A-Za-z]+$/
and it seems to be working.
benxmy wrote:
>
> So I'm still having some failure on this, maybe related to my limited
> understanding of
ging around looking at both regular expressions and Zend's
implementation of regexs, but am at a loss. Is there a way to get around
this that I'm not seeing? Or will I have to write my own validator to
accomplish this? Thanks a lot for any input!
Matthew Weier O'Phinney-3 wrote
t;Gravit8" it will return true (G
being the first match), when I need it to return false (for the 8).
Matthew Weier O'Phinney-3 wrote:
>
> -- benxmy wrote
> (on Thursday, 05 February 2009, 12:20 PM -0800):
>>
>> So I figured it out to an extent, but I think I
t validates the wrong way. I assume there's a way to reverse that in ZF,
but I haven't been able to find the correct syntax. Is that possible? Or
do I need to alter the expression itself?
Thanks!
Matthew Weier O'Phinney-3 wrote:
>
> -- benxmy wrote
> (on Tuesday, 03 Febr
hecked that I have
the $_validators array set up correctly (testing with only the single field)
and get the same exception.
Matthew Weier O'Phinney-3 wrote:
>
> -- benxmy wrote
> (on Monday, 02 February 2009, 01:58 PM -0800):
>
> You're creating the validators array
The more I dig around and play with it, the more I think it may be a small ZF
bug.
Basically, I couldn't figure out what was happening, so I had the update
function just print out the result of the validation:
**
public function update(array $data, $where) {
$valid = $th
Get the same failure with Alnum. I thought maybe using the built-in Regex
validation class might work, so i've altered the $_validators array to look
like this:
***
protected $_validators = array(
'field1' => array('regex',true,array('/[^a-zA-Z\'\-\ ]/')),
Hi,
I'm pretty new to ZF, but I've searched around quite a bit to try and find a
solution for this and thus far failed and I was hoping someone here could
point me in the right direction.
I'm creating a class that extends the Zend_Db_Table_Abstract class which
will be a parent class to all our m
10 matches
Mail list logo