Alexander Netkachev wrote:
typo:
Zend_Controller_Front::getInstance()->getRouter()->addRoute('RouteName',
new Zend_Controller_Router_Route('/dir1/:parameterName', array('action'
=> 'action', 'controller' => 'dir1')));
Damn! Beat me to it, I'd just written a very similar reply. Hehe.
Shaun
typo:
Zend_Controller_Front::getInstance()->getRouter()->addRoute('RouteName', new
Zend_Controller_Router_Route('/dir1/:parameterName', array('action' =>
'action', 'controller' => 'dir1')));
On 4/10/07, Alexander Netkachev <[EMAIL PROTECTED]> wrote:
Greetings,
You need to specify a custom rout
Greetings,
You need to specify a custom route for this as follows:
Zend_Controller_Front::->getRouter()->addRoute('RouteName', new
Zend_Controller_Router_Route('/dir1/:parameterName', array('action' =>
'action', 'controller' => 'dir1')));
and then you can get the parameter in the action by using
Greetings All -
I have a bit of an obscure question I have been thinking about, and am not
sure if it is possible with Zend. Any thoughts would be helpful. What I
would ideally like is for a given directory, break the Zend_Controller
functionality and have it do something slightly different.
t
How it is going:
1. {Zend_Auth}->authenticate($adapter);
2. in Zend_Auth::authenticate():
$this->getStorage()->write($result->getIdentity());
3. in Zend_Auth_Storage_Session::write():
$this->_session->{$this->_member} = $contents;
4. in Zend_Session_Namespace::__set():
$name = (string) $n
Hello,
Thanks for your reply. And good ideas too :)
Cristian
Yep. In the last release, 0.9.2, we added support to optionally set the
view object in the helper. All you need to do is add an accessor to your
helper. As an example, if you have helper 'foo', and want it to access
helper 'bar':
I want to consume a JIRA RSS Feed but the -Element contains
-Elements instead of an URL (12.4 Consuming an RSS Feed).
--- jira.xml ---
/* ... */
/* ... */
comment_a
comme
Jean-Marc Fontaine wrote:
>
> Maybe we could make a common proposal if you will and if there is good
> feedback from this list.
>
Its a good idea! I'm ready! Please tell me more about you implementation!
--
View this message in context:
http://www.nabble.com/FirePHP-integration-tf3553243s16
In addition to this request, it would be nice if Zend_Debug::dump()
detected and used xdebug if available.
Regards,
Eric
On 4/10/07, Matthew Ratzloff <[EMAIL PROTECTED]> wrote:
On Tue, April 10, 2007 7:12 am, Ivan Shumkov wrote:
>
> I'm think about integration FirePHP (http://firephp.org) in to
On Tue, April 10, 2007 7:12 am, Ivan Shumkov wrote:
>
> I'm think about integration FirePHP (http://firephp.org) in to Zend
> Framework:
> 1. Use Our_FirePHP for implementation protocol (I didn't like default PEAR
> class)
> 2. Use Zend_Log_Writer_FirePhp for writing log
> 3. Use Zend_Controller_Pl
Nice!! Thanks for all!!
2007/4/9, Alexander Netkachev <[EMAIL PROTECTED]>:
Hi,
For me it looks like:
1. Portability. The SQL generation depends on the data adapter used. So,
when you change database of your app from MySQL to MS SQL you probably will
not change anything in your selects.
2. Mana
Hi Ivan,
In fact, I already implemented that for the first FirePHP release. I am
waiting for the next release, which should be a major rewrite, to make
my code publicly available.
Maybe we could make a common proposal if you will and if there is good
feedback from this list.
Regards.
Jean
I'm think about integration FirePHP (http://firephp.org) in to Zend
Framework:
1. Use Our_FirePHP for implementation protocol (I didn't like default PEAR
class)
2. Use Zend_Log_Writer_FirePhp for writing log
3. Use Zend_Controller_Plugin_FirePhp for response "Capabilities Definition"
and FirePhp d
-- Cristian Bichis <[EMAIL PROTECTED]> wrote
(on Tuesday, 10 April 2007, 11:30 AM +0200):
> I started making my own helpers and since tend to be complex due to
> interfering
> with other components
>
> Problem 1:
>
> The helper needs access to some global variables. I added a constructor for
> t
I'll double-check but I'm sure that the DB row will serialise/
unserialise without any problems - you should be fine with the
default storage.
Cheers
Thank you!
But where the question arise:
authenticate($adapter) then saves the identity in the storage and
default storage is session-based
Thank you!
But where the question arise:
authenticate($adapter) then saves the identity in the storage and default
storage is session-based storage. This storage accepts only strings, as I
understand. So before the example below can work I should change the storage
too?
Sincerely,
On 4/10/07,
Yeah, that example was ~0.7.0 when the Zend_Auth class was still in
incubator and the getIdentity() was separate. Now it's possible to
simply implement the Zend_Auth_Interface in an instance of
Zend_Db_Table if you like and you can remove a couple of steps.
The 'role' property is simply a f
Thank you, that clarifies a lot!
However, I would like to know where you changed the identity of Zend_Auth?
E.g. what makes
$this->_auth->getIdentity()->getUser()->role;
possible?
I think that $identity->setUser(...) means that you use some class to store
identity-related information. Do use your
Hello,
I started making my own helpers and since tend to be complex due to
interfering with other components
Problem 1:
The helper needs access to some global variables. I added a constructor
for that helper:
public function __construct()
{
$this->config = Zend_Registry::ge
Hi,
I'm implementing Zend_Auth scheme and do not understand what is the best way
to store role of the user.
My scheme is based on http://devzone.zend.com/node/view/id/1665 (which seems
broken now because last code fragment is incomplete) and I want to store
user's identity and all associated inf
20 matches
Mail list logo