Re: [fw-general] getActionName() in bootstrap

2009-10-10 Thread scs
Matthew, thank you for your comment and explanation. I removed the My_Acl class and used directly $acl = new Zend_Acl And then moved everything to the plugin using custom methods for getting/setting resources. And then in plugin-native methods, I created the rules and check if user is allowed

Re: [fw-general] Zend pdf and vertical text

2009-10-10 Thread scs
and one more question from me: is there an practical way of printing tabular data in a pdf file generated by zend_pdf? scs On Sun, Oct 11, 2009 at 9:22 AM, Sergio Rinaudo wrote: > Great, > thanks! > > I just need to 'rotate' the page > > $page->rotate(0, 0, M_PI/12); > $page->drawText('Hello wor

RE: [fw-general] Zend pdf and vertical text

2009-10-10 Thread Sergio Rinaudo
Great, thanks! I just need to 'rotate' the page $page->rotate(0, 0, M_PI/12); $page->drawText('Hello world!', 150, 100); > Date: Sun, 11 Oct 2009 01:02:34 -0500 > From: ralph.schind...@zend.com > To: kaiohken1...@hotmail.com > CC: fw-general@lists.zend.com > Subject: Re: [fw-general] Zend

Re: [fw-general] Zend pdf and vertical text

2009-10-10 Thread Ralph Schindler
Have a look here: http://devzone.zend.com/article/2525 There are some hints in there. Hope it helps, -ralph Sergio Rinaudo wrote: Hello, is it possible using Zend_Pdf to draw a text vertically? I did not find anything in the documentation. Thanks --

[fw-general] Zend pdf and vertical text

2009-10-10 Thread Sergio Rinaudo
Hello, is it possible using Zend_Pdf to draw a text vertically? I did not find anything in the documentation. Thanks _ Le tue Emoticon ti sembrano poche? Scaricane di nuove! http://intratten

[fw-general] Re: Custom Bootstrap Resource Help

2009-10-10 Thread A.J. Brown
Sometimes all it takes is explaining it to someone else: The problem was that it's "pluginPaths", not "pluginsPaths". Fixing that fixed the problem. On Sat, Oct 10, 2009 at 7:14 PM, A.J. Brown wrote: > Hey Guys, > > I'm trying to create a few custom bootstrap respources for my project. > Unfort

[fw-general] Custom Bootstrap Resource Help

2009-10-10 Thread A.J. Brown
Hey Guys, I'm trying to create a few custom bootstrap respources for my project. Unfortunately, I can't get the first (and simplest) to run.  I get the following error: Zend_Application_Bootstrap_Exception: Resource matching "database" not found in /usr/share/php/ZendFramework-1.9.1-minimal/libr

Re: [fw-general] Can I globally change the route scheme from controller/action/key1/val1/key2/val2 to just controller/action/val1/val2?

2009-10-10 Thread arrrms
Hector, thank you for your responses. They do what I wanted to accomplish, and even better have taught me a bit more about ZF (I've only been using it for a few days). Hector Virgen wrote: > > You could also try extending the dispatcher ( > Zend_Controller_Dispatcher_Standard) so that it pass

Re: [fw-general] Dumb question...

2009-10-10 Thread Ralph Schindler
You can use SVN to get to them at this url: http://framework.zend.com/svn/framework/standard/incubator/ The incubator does not get shipped in the release packages, mainly b/c they are still "incubating". Most of these components are in a state of flux until they get promoted to trunk, then on

[fw-general] Dumb question...

2009-10-10 Thread Steven Szymczak
...where can I get the incubator components? I've seen references to them being includes in all the latest full ZF distributions, but that doesn't seem to be the case. Cheers, -- Steven -- スティーブン

Re: [fw-general] Simple Cloud API Proposals

2009-10-10 Thread Daniel Latter
Salesforce uses a query language called SOQL : Sforce Object Query Language, similar to GQL you refer to. If I'm right 'Documents' in this case would mean the Salesforce Objects such as Accounts and Leads so I think an adapter would defiantly be worthwhile. To access the Objects at present Salesf

Re: [fw-general] Zend_Controller_Router_Route_Regex mapping fails when using optional parameters

2009-10-10 Thread frank.quosdorf
thanks for your suggestion. With the ? added, it did work, but I kept having troubles with routes where the string parameter was not followed by a number but by another string and then by a number. So, after more testing, the following regular expressions worked for me: Optional string parameter

Re: [fw-general] Can I globally change the route scheme from controller/action/key1/val1/key2/val2 to just controller/action/val1/val2?

2009-10-10 Thread Hector Virgen
You could also try extending the dispatcher ( Zend_Controller_Dispatcher_Standard) so that it passes the params to the controller's action method using call_user_func_array(). Take a look at this page if you want to go down that route (no pun intended ;)) http://framework.zend.com/manual/en/zend.c

Re: [fw-general] Can I globally change the route scheme from controller/action/key1/val1/key2/val2 to just controller/action/val1/val2?

2009-10-10 Thread Hector Virgen
You could create a route with X number of named parameters and make them all optional: :controller/:action/:arg1/:arg2/:arg3/:arg4/:arg5... You can then create an action helper that gets all of those arg# parameters and assigns them to the controller: class Default_Controller_Helper_ParamFetcher