Re: [fw-general] Re: Zend_Tool doesn't find my providers

2010-03-21 Thread Chris Morrell
I don't know why it's switched, but it doesn't seem that bad to configure the providers in a INI file. You can also include them using something like: zf enable config.manifest class-name See zf enable config.? for more details. I don't know why it's cutting off the first letters. Have you dug

[fw-general] Re: Zend_Nav / acl for individual links

2010-03-21 Thread tonystamp
Hi, Well i ended up writing a simple view helper that i have been using in my views like: canRoleViewActionLink('/articles/edit')): ?> " 'articles', 'action' => 'edit', 'articleID' =

[fw-general] Re: Zend_Tool doesn't find my providers

2010-03-21 Thread iSac
I'm also having these problems. As per it not finding my providers and manifests: I've been confused because the docs say that the BasicLoader will look at all files and directories in your include path for files ending in Provider.php or Manifest.php, but I don't think it does. The IncludePath

Re: [fw-general] Conditional links in Zend_Navigation

2010-03-21 Thread Jurian Sluiman
On Sunday 21 Mar 2010 21:16:18 Jigal sanders wrote: > Hello, > > I use Zend_Navigation and an xml file to build up my navigation. > Is it possible to show only a link on a certain condition? For example when > a user is logged in i want to show the logout link but when no one is > logged in i don'

[fw-general] Conditional links in Zend_Navigation

2010-03-21 Thread Jigal sanders
Hello, I use Zend_Navigation and an xml file to build up my navigation. Is it possible to show only a link on a certain condition? For example when a user is logged in i want to show the logout link but when no one is logged in i don't want to show the logout link. Any idea's? Thanks. J. Sander

RE: [fw-general] Is Zend_Log reliable when multiple user writing to the same file?

2010-03-21 Thread Thomas D.
Hi, Guillaume Rossolini wrote: > You needn't be concerned, as Zend_Log uses system-level > file locking.  And as you know, the OS is above apache ;) > That means that multiple simultaneous Zend_Log instances > do not immediately write or fail, they wait in a queue until > they manage to write or u

[fw-general] Zend_Rest_Client: post ánd get request

2010-03-21 Thread Jurian Sluiman
Hi all, I'm trying to build an auth adapter for Facebook. The problem is they require a validation with POST data to an url with GET parameters. I'd like to do this (extremely simplified): $client = new Zend_Rest_Client('facebook.com'); $path = 'restservice.php?method=facebook.auth.getSession'; $p

[fw-general] Cannot instantiate Zend_Filter_StringToLower with encoding param

2010-03-21 Thread umpirsky
Hi. This code $f = new Zend_Filter_StringToLower('UTF-8'); or $f = new Zend_Filter_StringToLower(array('encoding' => 'UTF-8')); gives : Zend_Filter_Exception: The given encoding 'Array' is not supported by mbstring thrown in Zend\Filter\StringToLower.php on line 93 Same behavior i get in fo

Re: [fw-general] Is Zend_Log reliable when multiple user writing to the same file?

2010-03-21 Thread Guillaume Rossolini
On Sun, Mar 21, 2010 at 3:42 AM, howard chen wrote: > > > What I concern is potential loss of log due to locking. (Assume > multiple apache processes are running) > Hi, You needn't be concerned, as Zend_Log uses system-level file locking. And as you know, the OS is above apache ;) That means th