I think you can use views all the way.
For example:
!-- email.phtml --
Dear ?=$this-escape($this-firstName)?
Thanks for registrering at ?=$this-siteName?!
Cheers,
Webmaster
And in your controller, you'd do:
$this-view-assign('firstName', $firstName);
$this-view-assign('siteName',
Hi
Thank you very much. I'll wait for the final docs and the screencast.
Cheers
holo
2009/4/23 Ben Scholzen 'DASPRiD' m...@dasprids.de
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Oh, and just as a footnode: I'll publish a complete feature-covering
screencast about Zend_Tag together with
Hi Matthew,
Not totally sure what you mean by $testArr is a single item - it's an
array, surely, in the same way that array($testArr) is an array? It's just
an assoc. array rather than a simple array (if that's the right term -
simple array?)
In any event, it's actually worse than that -
Hi all,
i'm having a problem while fetching a result set on a nested routine.
I think it's more simple to read the example:
$myFirstTable = new myFirstTable();// extetend Zend_Db_Table_Abstract
$mySecondTable = new mySecondTable();// extetend Zend_Db_Table_Abstract
the i call a function that
On Thu, Apr 23, 2009 at 11:06 AM, Philip Iezzi li...@iezzi.ch wrote:
(...)
See the difference?
Both are ugly in some way if I want to stick with this template style full
of opening and closing tags. But at least, in a Smarty-template we can
provide real newlines while they would get cut off
-- lightflowmark 1...@lightflowinterrupted.com wrote
(on Thursday, 23 April 2009, 03:05 AM -0700):
Not totally sure what you mean by $testArr is a single item - it's an
array, surely, in the same way that array($testArr) is an array? It's just
an assoc. array rather than a simple array (if
Is there a bonus to describing the deeper-nested objects as references rather
than directly as in this example:
http://www.nabble.com/file/p23196054/order_combined.json order_combined.json
? It seems to add obfuscation for deeply-nested arrays.
Would code to convert my original $testArr to
How did you install ZF? Is it on your include_path?
-ralph
Rob Allen wrote:
Hi,
I've just downloaded 1.8b1 and am getting this with Zend_Tool:
$ zf create project zf-app-test
Fatal error: Class 'Zend_Controller_Action' not found in
I designed a generic CRUD controller doing the following operations for the
CREATE action:
if ($this-gt;_request-gt;isPost()) {
$formData = $this-gt;_request-gt;getPost();
if ($form-gt;isValid($formData)) {
$row = $this-gt;_model-gt;createRow();
Downloaded the Zip file and placed in /usr/local/ZendFrameworkCli.
Then did:
alias zf=/usr/local/ZendFrameworkClik/bin/zf.sh
I would prefer not to have it on my global include path as we have
multiple ZF versions and configure per site.
What's most odd is that it worked fine with the alpha
Hi lightflowmark, thanks for your followup. I appreciate it. =^D
Let me explain my point in more detail so you can get a better picture of
what I'm trying to do. Below is the directory structure of my
module/controllers which I will use to help explain the following details of
the project.
-- lightflowmark 1...@lightflowinterrupted.com wrote
(on Thursday, 23 April 2009, 05:39 AM -0700):
Is there a bonus to describing the deeper-nested objects as references rather
than directly as in this example:
http://www.nabble.com/file/p23196054/order_combined.json order_combined.json
?
Fair enough :-)
In my own app, I change the layout on a per-controller basis, using a
front-controller plugin, hooking into dispatchLoopStartup(). (You could
also choose a layout on a per-module basis, a per-action basis, or any
combination of these). If I've understood correctly, this is
Hey,
I have been working on a Zend_Payment component @link
http://framework.zend.com/wiki/display/ZFPROP/Zend_Payment
And there were a lot of good feedback, Since this is something that a lot
will was wondering what you guys think about the following:
1. Should the gateways use the zend http
On 23/04/2009, Vadim Gabriel vadim...@gmail.com wrote:
1. Should the gateways use the zend http component and it's adapters such
as the Curl to process the payments or use the PHP Curl extension as is?
Definitely use Zend_Http. If an application has already setup an instance of
-- Vadim Gabriel vadim...@gmail.com wrote
(on Thursday, 23 April 2009, 05:45 PM +0300):
I have been working on a Zend_Payment component @link
http://framework.zend.com
/wiki/display/ZFPROP/Zend_Payment
And there were a lot of good feedback, Since this is something that a lot will
was
On Thu, Apr 23, 2009 at 6:03 PM, Tim Fountain t...@tfountain.co.uk wrote:
On 23/04/2009, Vadim Gabriel vadim...@gmail.com wrote:
1. Should the gateways use the zend http component and it's adapters such
as the Curl to process the payments or use the PHP Curl extension as is?
Definitely
On Thu, Apr 23, 2009 at 6:07 PM, Matthew Weier O'Phinney
matt...@zend.comwrote:
-- Vadim Gabriel vadim...@gmail.com wrote
(on Thursday, 23 April 2009, 05:45 PM +0300):
I have been working on a Zend_Payment component @link
http://framework.zend.com
/wiki/display/ZFPROP/Zend_Payment
And
I’m tying the code below. When the test() JS function is called by an
onchange event everything works as intended and dijit.byId is
defined but I get the error “dijit is undefined” for “onload”. What
did I miss or do wrong? Many thanks for advices in advance.
In the View:
?php
Replying to self.
I'm trying to define my forms within config.ini files and have made it
part way. The part that I can't figure out is how to set the error
message template or even the error message within those files.
I put this in myForm.ini
myForm.elements.verb.type = text
-- Vadim Gabriel vadim...@gmail.com wrote
(on Thursday, 23 April 2009, 06:24 PM +0300):
On Thu, Apr 23, 2009 at 6:07 PM, Matthew Weier O'Phinney matt...@zend.com
wrote:
-- Vadim Gabriel vadim...@gmail.com wrote
(on Thursday, 23 April 2009, 05:45 PM +0300):
I have been working
Great! Thanks lightflowmark. You got my point and I got yours too. I think
the preDispatch method would work for me. I could change the predispatch
module/controller/action to the action that will change the layout before
the forwarded action is called. In this way, its not anymore necessary to
hmm, well in that case, do this:
export ZF_PATH=/usr/local/ZendFrameworkCli/library
basically you'd be setting up an environment varaible to tell just the
tool what the include_path should look like.
let me know if that helps.. if it does, I will have to consider the use
case of
Matthew Weier O'Phinney-3 wrote:
Zend_Tool generates a public/index.php file, an
application/Bootstrap.php file, and an
application/configs/application.ini file. public/index.php pulls in
Zend_Application, and passes it the path to the configuration file,
which indicates the include paths
Hey,
Yea. I agree. I will complete the Tranzila gateway and move forward to the
Paypal gateway as it will be probably the most usable.
Is there anything else i should add or edit a current functionality? Or
doing something i missed since this is my second zend component?
Thanks.
On Thu, Apr
On 23/04/2009, Vadim Gabriel vadim...@gmail.com wrote:
On Thu, Apr 23, 2009 at 6:03 PM, Tim Fountain t...@tfountain.co.ukwrote:
I would also strongly recommend that you look into 3-D Secure authorisation
and work out how you would build support for this into the component. It
would be very
2009/4/23 Matthew Weier O'Phinney matt...@zend.com
There's an assumption that ZF is already on your vhost's include_path
somewhere.
Is this something that has changed recently? I know Zend_Tool originally
copied the library/Zend folder into 'library' when a new project was
created, but it no
Damn, I met this issue 2 months ago and I was persuaded it was a regular
behavior of subforms...
On Thu, Apr 23, 2009 at 4:32 PM, Matthew Weier O'Phinney
matt...@zend.comwrote:
-- Guillaume Oriol gor...@technema.fr wrote
(on Thursday, 23 April 2009, 07:14 AM -0700):
I designed a generic
I didn't read carefully your email but I currently use UTF-8
encoding/charset on a web project with an oracle database. So, here is a
sample of my own code where APP_ENCODING = 'utf-8' and APP_DB = 'database'.
Hope you'll find your answer within it...
*config.ini*
[database]
database.adapter =
I see. Well for the tranzila code snippet you could take a look at
http://www.vadimg.co.il/2009/03/30/%D7%97%D7%99%D7%95%D7%91-%D7%9B%D7%A8%D7%98%D7%99%D7%A1-%D7%90%D7%A9%D7%A8%D7%90%D7%99-%D7%91%D7%90%D7%9E%D7%A6%D7%A2%D7%95%D7%AA-%D7%98%D7%A8%D7%A0%D7%96%D7%99%D7%9C%D7%94/
I wrote a class that
You short-circuit the MVC model offered by Zend Framework whereas you should
use a Zend_Form for your HTML form element in a controller and populate it
with your model, then you affect it to the view. A really quick example :
*MyForm.php*
function init()
{
$faculty = new
Thomas VEQUAUD schreef:
Damn, I met this issue 2 months ago and I was persuaded it was a regular
behavior of subforms...
On Thu, Apr 23, 2009 at 4:32 PM, Matthew Weier O'Phinney
matt...@zend.com
mailto:matt...@zend.com wrote:
-- Guillaume Oriol gor...@technema.fr
-- Robert Castley robert.cast...@gmail.com wrote
(on Thursday, 23 April 2009, 08:18 PM +0100):
You can join in all the jotBug fun on IRC - irc.freenode.net #jotbug
We are having some issues with 1.8 :-) so sticking with 1.7.8 for now :-)
What issues are you having?
--
Matthew Weier O'Phinney
None now, human error :-)
Sorry!
- Robert
2009/4/23 Matthew Weier O'Phinney matt...@zend.com:
-- Robert Castley robert.cast...@gmail.com wrote
(on Thursday, 23 April 2009, 08:18 PM +0100):
You can join in all the jotBug fun on IRC - irc.freenode.net #jotbug
We are having some issues with
http://jotBug.org now running 1.8.0b1 :-)
- Robert
2009/4/23 Robert Castley robert.cast...@gmail.com:
None now, human error :-)
Sorry!
- Robert
2009/4/23 Matthew Weier O'Phinney matt...@zend.com:
-- Robert Castley robert.cast...@gmail.com wrote
(on Thursday, 23 April 2009, 08:18 PM
-- Fire Eye'd Boy fire-eyed-...@hotmail.com wrote
(on Thursday, 23 April 2009, 10:03 PM +0200):
Thomas VEQUAUD schreef:
Damn, I met this issue 2 months ago and I was persuaded it was a regular
behavior of subforms...
On Thu, Apr 23, 2009 at 4:32 PM, Matthew Weier O'Phinney
Hmm well ok... I followed a Matthew tutorial on devzone and I think I did
the same with my subforms
2009/4/23 Fire Eye'd Boy fire-eyed-...@hotmail.com
Thomas VEQUAUD schreef:
Damn, I met this issue 2 months ago and I was persuaded it was a regular
behavior of subforms...
On Thu,
Matthew Weier O'Phinney-3 wrote:
-- Steve Reed imstevier...@hotmail.com wrote
(on Thursday, 23 April 2009, 09:16 AM -0700):
Matthew Weier O'Phinney-3 wrote:
Zend_Tool generates a public/index.php file, an
application/Bootstrap.php file, and an
application/configs/application.ini
-- Robert Castley robert.cast...@gmail.com wrote
(on Thursday, 23 April 2009, 09:20 PM +0100):
http://jotBug.org now running 1.8.0b1 :-)
Awesome!
2009/4/23 Robert Castley robert.cast...@gmail.com :
None now, human error :-)
Sorry!
- Robert
2009/4/23 Matthew Weier O'Phinney
-- Steve Reed imstevier...@hotmail.com wrote
(on Thursday, 23 April 2009, 02:39 PM -0700):
Matthew Weier O'Phinney-3 wrote:
-- Steve Reed imstevier...@hotmail.com wrote
(on Thursday, 23 April 2009, 09:16 AM -0700):
Matthew Weier O'Phinney-3 wrote:
Zend_Tool generates a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi folks,
I've just release my Zend_Tag_Cloud screencast, take a look at leave a
comment if you like.
http://www.dasprids.de/blog/2009/04/24/zend-tag-cloud-screencast
Regards,
Ben
- --
...
: ___ _ ___ ___ ___ _
On 23 Apr 2009, at 23:42, Matthew Weier O'Phinney wrote:
That said, we're seeing some momentum by shared hosts as well as xAMP
stacks to include ZF in the default include_path (Zend Server falls in
this category as well). In such cases, you may be able to bootstrap
your
ZF application and
42 matches
Mail list logo