While learning about Zend_Form I used examples from quick start guide.
However, when I tested my code I've got an error "Cannot unset string
offsets" in Zend_Form_Element.
I found how to fix the issue
(http://www.nabble.com/Problems-submitting-a-Zend_Form-td20109449.html).
Yet, in the documentation
Hi,
I have used the Zend_Mail class to send mails from my site.
And
Now I have to send mails to users in Arabic and French languages!
Is it possible?
i have tried this code
//Configuring mail
$admin_email= "ad...@site.com";
$admin_name = "Stefan";
On Fri, Feb 13, 2009 at 7:41 PM, Matthew Weier O'Phinney
wrote:
> -- Mustafa A. Hashmi wrote
> (on Friday, 13 February 2009, 07:10 PM +0500):
>> On Wed, Feb 4, 2009 at 11:01 AM, Mustafa A. Hashmi
>> wrote:
>> > On Wed, Feb 4, 2009 at 12:04 AM, Matthew Weier O'Phinney
>> > wrote:
>> > > -- Must
Heres an example
blog.type = "Zend_Controller_Router_Route_Hostname"
blog.route = "blog.example.com"
blog.defaults.module = "blog"
blog.chains.blog-list.type =
"Zend_Controller_Router_Route_Regex"
blog.chains.blog-list.route = "page/(\d+)"
blog.chai
I'm not sure if this is gonna work, but do you have the RemoteClass alias in
you Flash class?
for example:
package com.marines.officer {
[RemoteClass(alias="PictureVO")]
public class Picure { }
}
This works for me in Flex, don't know about Flash.
Mark
2009/2/13 Josh Team
> So I have
I typically install Zend Framework to /usr/share/php and add
/usr/share/php/ZendFramewor-1.7.4/library to my includes path. It works
well if you have full access to the machine and have multiple projects which
use Zend Framework.
On Fri, Feb 13, 2009 at 11:55 AM, PHPScriptor wrote:
>
> my stru
my structure:
/app
/cache =>caching stuff
/etc =>config.ini etc...
/forms
/jobs => cronjobs
/languages => languages files
/models
/modules
/module1
/controllers
/views
/helpers
/scripts
/module2
/controllers
/views
/helpers
Merci Matthew. I really appreciate the time you spend on this mailing list.
Jason DEBORD
Limoges, France
On Fri, Feb 13, 2009 at 7:25 PM, Matthew Weier O'Phinney
wrote:
> -- Jason DeBord wrote
> (on Friday, 13 February 2009, 07:06 PM +0100):
>> Directory Structure
>>
>> Project
>>
>> Applic
Hi,
Personally, i use:
/library
/Zend => Zend Framework
/MyPersonalLibrary
/applications
/application1
/controllers
/forms
/views
/helpers => Helper_View
/layouts
-- Jason DeBord wrote
(on Friday, 13 February 2009, 07:06 PM +0100):
> Directory Structure
>
> Project
>
> Application
> controllers
> views
> models
> layouts
> forms
>
> Library
> symlink to Zend
>
> public_html
>
> So I set my include path to Project/library s
Directory Structure
Project
Application
controllers
views
models
layouts
forms
Library
symlink to Zend
public_html
So I set my include path to Project/library so The Framework is
included. I am thinking that it makes sense to put classes for the
database or other
Greetings.
I'm very new with ZF so please excuse any ignorance on my part.
I'm developing a website that must have multiple languages for the user
to choose (namely: en_US, and pt_BR). The idea is having icons present
in all pages that the user can click, resulting in:
1) Change the default
So I have my AMF set up going.. and I have run over an awkward occurrence,
if anyone has insight I would love to hear it.
I created my VOs with:
class PictureVO { public $_explicitType = 'com.marines.officer.Picture; }
This works great outbound.. no problem. Flash sees the PictureVO as
com.marin
-- mvanlamz wrote
(on Friday, 13 February 2009, 07:44 AM -0800):
>
> While _redirect() and _forward() are protected, you'll find that
> gotoUrlAndExit() and a bunch of others are public, and can be called from
> your action helper.
>
> (For the record, I vote for making _redirect() and _forward(
While _redirect() and _forward() are protected, you'll find that
gotoUrlAndExit() and a bunch of others are public, and can be called from
your action helper.
(For the record, I vote for making _redirect() and _forward() public too.
Why not? Until I noticed some of the public methods, I was about
An other alternative would be to store only the database-values in the cache
function loadResources()
{
// try cache
// if not available or ttl expired -> load from database and store in
cache
}
function loadRoles()
{
[...etc]
Saves you space in the cache, deserialization & d
rcastley wrote:
>
> My ACL implementation already uses a database for storing roles,
> resources etc. but on each action these calls are made to the database
> and I am wondering how to slim this down.
>
You can slim it down by cashing the values from the database; for example,
using memcache
-- Mustafa A. Hashmi wrote
(on Friday, 13 February 2009, 07:10 PM +0500):
> On Wed, Feb 4, 2009 at 11:01 AM, Mustafa A. Hashmi wrote:
> > On Wed, Feb 4, 2009 at 12:04 AM, Matthew Weier O'Phinney
> > wrote:
> > > -- Mustafa A. Hashmi wrote
> > > (on Tuesday, 03 February 2009, 11:58 PM +0500):
>
Hi Neil,
You are correct in that the current design of the HTTP Auth Resolvers
requires the password (or password hash) to be returned to the adapter.
The reason the password validation is done in the adapter, instead of in
the resolver (which would allow an SQL query to make the necessary
co
-- Jason DeBord wrote
(on Friday, 13 February 2009, 09:02 AM +0100):
> In the ZF Documentation regarding the Zend_Db_Table_Abstract, the
> instructions regarding init() state:
>
> class Bugs extends Zend_Db_Table_Abstract
> {
> protected $_observer;
>
> protected function init()
> {
On Wed, Feb 4, 2009 at 11:01 AM, Mustafa A. Hashmi wrote:
> On Wed, Feb 4, 2009 at 12:04 AM, Matthew Weier O'Phinney
> wrote:
>> -- Mustafa A. Hashmi wrote
>> (on Tuesday, 03 February 2009, 11:58 PM +0500):
>>> I seem to have hit a strange issue with content panes in tab
>>> containers. To ensur
On Fri, Feb 13, 2009 at 2:54 PM, Deepak Shrestha wrote:
> Let me explain a bit so that it will be clear about
> 1. what I am trying to do
> 2. where I am doing wrong and
> 3. where I need to fill up the missing pieces.
>
>
> My front page is where all the records are shown so I wanted to use
> the
Thanks Marcello, it worked!
I almost can't believe it was that simple. Many thanks for your fantastic
support.
Henry
Marcello Duarte wrote:
>
> You are right, it's simple fix. Just make sure you add your models path to
> your include_path:
>
> set_include_path(get_include_path() . PATH_SEPA
You are right, it's simple fix. Just make sure you add your models path to
your include_path:
set_include_path(get_include_path() . PATH_SEPARATOR . APPLICATION_PATH .
DIRECTORY_SEPARATOR . 'models');
Should do the trick.
HenryG wrote:
>
> Thanks for the quick reply,
>
> It's pretty much as
Thanks for the quick reply,
It's pretty much as per the GuestBook application, index.php sets up the
include path and Zend_Loader. The boot strap looks like this:
defined('APPLICATION_PATH')
or define('APPLICATION_PATH', dirname(__FILE__));
$frontController = Zend_Controller_Front::getInst
Hi Henry,
Seems to me you have a problem with autoloading. How are you including the
models path in the bootstrap?
HenryG wrote:
>
> Hi all,
>
> I hope this is a really easy one. I've just started using
> findDependentRowset() but I get the following exception when trying to use
> it.
>
>
Hi all,
I hope this is a really easy one. I've just started using
findDependentRowset() but I get the following exception when trying to use
it.
If I call $programmes = $centre1->findDependentRowset('DbTable_Programme');
this happens:
Message: File "DbTable/Programme.php" does not exist or clas
Hi
How do I preserve the hard return (CR CR/LF) entered in textarea in
zend_form? Currently my filter for textarea is "StringTrim" and
"NotEmpty".
I thought I am getting this because $this->escape is used in my view
script. I tried removing it but I am still getting the same output
(everything in
2009/2/13 Kostyantyn Shakhov
> What's the best way to make objects available "globally"? I mean
> available in the following:
>
> 1) In action controllers;
> 2) In Forms;
> 3) In Views;
>
If an object has to be accessed by all those classes, probably you should
review your design.
--
Giorgio S
In the ZF Documentation regarding the Zend_Db_Table_Abstract, the
instructions regarding init() state:
class Bugs extends Zend_Db_Table_Abstract
{
protected $_observer;
protected function init()
{
$this->_observer = new MyObserverClass();
}
However when I use "protected"
30 matches
Mail list logo