Hello Hector,
Is there a reason you don't want to go with a static identity map?
Well, I consider usage of static map in this case most simple and even correct.
But as I'm in the planning phase and always questioning the design, I
want to make sure I'm doing it the correct way. And after
About privileges, all depends how you're going to code it I guess.
Concretely (for the access rights) I have my controllers as resources and
actions as privileges.
My controller names are litteraly stored in my DB, however I am conscious
that the Model shouldn't know about the Controller or the
-- pyarlagadda yarlagadda...@gmail.com wrote
(on Sunday, 30 August 2009, 04:38 PM -0700):
I have a problem displaying the single quote on HTML using Zend Framework.
I have a string stored in MySQL database. I fetch it using Zend Framework,
escape it using $this-escape($string) and then try to
Hi,
I’m a bit confused about Zend_Search_Lucen’s query boosting. How can I
specify how valuable is a hit on a specific field? E.g. i want an
expression to have a higher rank in a title field than in a content
field.
Any method to achieve this?
Thanks,
Ádám
Wow, lots going on here. I'll try to help where I can.
I actually blogged about the situation you descibed about blog posts and
owners:
http://ralphschindler.com/2009/08/13/dynamic-assertions-for-zend_acl-in-zf
In that scenario, your assertion would likely be interacting with the
database
Thats a good point, can you open an improvement issue for it?
Thanks,
Ralph
iceangel89 wrote:
i noticed Zend_Tool still does not handle modules very well.
1. upon creation i think
resources.frontController.moduleDirectory = APPLICATION_PATH /modules
should be added to application.ini
2.
Hmm. $response-setRedirect() assumes you are providing it a url so its
probably best if that were an absolute path.
Also, it does not stop the dispatchloop from executing, so you might
have to do $request-setDispatched(true);
To get a sense of how redirecting is handled, you might want to
http://www.nabble.com/file/p25228110/Picture1.png
I hope to use parial() view helper to add Meta data Information div and
the Tinymce textarea divs from script files.
If I add other whole form to view and if form submitted to submittedform
action(action = /submittedform),How to I access
I'm struggling trying to get this working.
I need to add a resourceType to all of my modules:
'report' = array(
'path' = 'reports/',
'namespace' = 'Report'
)
Is there a way to do this in a DRY fashion? Id rather not add a
Bootstrap.php class for all of my modules. Can this be done
On Sun, Aug 30, 2009 at 9:31 AM, fab2008 f.napole...@gmail.com wrote:
Hi all,
I have a page with some news generated using ZF stack (Zend_MVC,
Zend_Layout, Zend_View, Zend_Navigation, etc); this page is available for
web browsing, but I need also to email this page with some additional
Hi,
I have a DB model class (extends Zend_Db_Table_Abstract) from where I return
data. In one of the methods I have to uasort(array, callback) arrays
(several merged). The problem is that I don't know where to put and declare
the function compare and call it as string like uasort requiere.
On Mon, Aug 31, 2009 at 4:01 PM, David Mintz vtbludg...@gmail.com wrote:
On Sun, Aug 30, 2009 at 9:31 AM, fab2008 f.napole...@gmail.com wrote:
Hi all,
I have a page with some news generated using ZF stack (Zend_MVC,
Zend_Layout, Zend_View, Zend_Navigation, etc); this page is available
I would also be interested in such 'best practices.'
I am using a git repository and deploying to media temple and slicehost
hosted staging and production servers.
I would also be interested in seeing how people develop a single admin
module that can be leveraged across several different
should optionally require admin credentials passed as arguments or should
confirm CLI is being run by particular system users (e.g. root).
lightflowmark wrote:
I'm actually working on a proposal to do exactly this at the moment.
What features would people like to see on this?
Reply myself
Place the protected function inside the class, and call:
uasort($result, array($this, 'orderArrayNatural'));
Thxs anyway
j.padron wrote:
Hi,
I have a DB model class (extends Zend_Db_Table_Abstract) from where I
return data. In one of the methods I have to
After some trials I decided to switch to a CLI version of this script,
because in some cases I need to send the same email to multiple recipients.
My solutions is similar to yours, this is a proof of concept:
// Create application, bootstrap, and run
$application = new
Hi, Ralph:
Thanks for taking the time to check this out and for the lead.
$response-sendHeaders() seems to have done it.
I see what you mean about setRedirect(); Is there a better way than using
Response's setRedirect() method? Maybe something that has a signature like
this:
Hello there,
I have an index generated by Apache Lucene, and I'd like to access it with
Zend_Search_Lucene, but only for searching.
When I give PHP write access to the index, it works flawless, but I don't
want it to have write access.
But when I take away the write access, I get an error
It solved the problem. Thank you very much Matthew.
Regards,
Praveen
Matthew Weier O'Phinney-3 wrote:
-- pyarlagadda yarlagadda...@gmail.com wrote
(on Sunday, 30 August 2009, 04:38 PM -0700):
I have a problem displaying the single quote on HTML using Zend
Framework.
I have a string
If I build a form by using view script (using html tags/without using zend's
form elements) how to get posted values from action's page ?
--
View this message in context:
http://www.nabble.com/Getting-POSTed-values-of-a-form-which-build-by-view-script-tp25233310p25233310.html
Sent from the
If I build a form by using view script (using html tags/without using zend's
form elements) how to get posted values from action's page ?
--
View this message in context:
http://www.nabble.com/Getting-POSTed-values-of-a-form-which-build-by-view-script-tp25233309p25233309.html
Sent from the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
neobeacon wrote:
If I build a form by using view script (using html tags/without using zend's
form elements) how to get posted values from action's page ?
In a controller action:
$this-_request-getPost(); // will return an array of all $_POST
ok created an improvement issue
http://framework.zend.com/issues/browse/ZF-7743. i hope its done ok, its my
1st time adding an issue
Ralph Schindler-2 wrote:
Thats a good point, can you open an improvement issue for it?
Thanks,
Ralph
iceangel89 wrote:
i noticed Zend_Tool still does
To genarate page content with using GET['id'] and using database tables,
I create viewAction() in ArticleController class
What I want to do to get GET['id'] from viewAction() ?
Do I want to configure Zend router to get /view/id/01 url strucure?
--
View this message in context:
You can use Zend_Form with viewscripts to generate arbitrary layout, and
still get the benefits of Server SideValidation and Dojo too.
-- Sean
- Original Message -
From: neobeacon neobea...@gmail.com
To: fw-general@lists.zend.com
Sent: Monday, August 31, 2009 7:02 PM
Subject:
Hi guys, just a quick one.
I want to be able to add a regular textarea to a Zend_Dojo form - the Dojo
editor is a tiny bit crappy, and i'd really rather use something else. The
problem is that the text area that Zend_Dojo outputs isn't an actual
textarea, and thus 3rd party editors tend to have
I also want to use Zend_Form But I don't know how to design this form using
Zend_Form.I know how to add form elements and filters and validators.IF you
have any idea please send.Thanks.
And also I got the logic to get POST[] values.Thanks in deep.
27 matches
Mail list logo