It wouldn't be so hard to implement if you really want to...
Something like this would feat both for internal forwarding and redirection:
protected $_internalParamsStorage = null;
protected function setInternalParam($name, $value) {
if (null === $this->_internalParamsStorage= {
$this->
Hi,
I have this issue that's been lingering in my codes. Whenever i use the
Zend_Mail or Zend_Captcha or any component that generates some kind of
resource, i always get such resource twice. In context, if i use the
Zend_Mail to send out mails - will recieve the same copy of that mail twice.
Li
I don't really see the benefits compared to "the regular" way.
On Fri, Feb 20, 2009 at 5:55 AM, Ehask71 wrote:
>
> I installed today and love it I figured it would have some flashy graphs
> like
> some of the cool monitor functions in Coldfusion Server and such but its
> pretty plain. I do love
I installed today and love it I figured it would have some flashy graphs like
some of the cool monitor functions in Coldfusion Server and such but its
pretty plain. I do love the install and can see using CE on some servers.
On linux install is this easy
1) Add Zend Repos to yum.repos.d/
2) yu
Yes you can do this:
$element = $this->addElement('select', 'parent_structure', array(
'label' => 'Parent: ',
'id' => 'parent_structure,
'isArray' => false,
'multiOptions' => $this->_getTreeStrut(), // this get the values and such
for options.
));
$element->setAttrib('disable',array('va
Try out the following code to convert the "dt" tag or put blank whatever you
want.
$this->setElementDecorators(array(
array('ViewHelper'),
array('Errors'),
array('Description', array('tag'
Ok, done.
Now I have converted most of the methods in my base controllers as action
helpers, plugins or just moved them to views.
I have the final challenge:
I declare "blocks" to my sidebar with my new action helper "Block".
Example, $this->_helper->block($block, "left_sidebar", 0); // render
prickett wrote:
>
> I'm trying to insert a record into a MySql table that has no key. I'm
> using an adapter and the following code:
>
> Zend_Registry::get( "dbAdapter" )->insert( "USERS" , array( "username" =>
> $this->username , "password" => $this->password ) );
>
>
> This, however, resul
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Well if it's all about forwarding internally, without redirect, simply
store the internal values withing e.g. Zend_Registry.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \
Any other solution?
How about something like $this->_setInternalParam() and
$this->_getInternalParam()
Would that be hard to implement?
>
> On Thu, Feb 19, 2009 at 12:07 PM, Ben Scholzen 'DASPRiD' > wrote:
>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Disable the default route, a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Inno,
I solved the same problem some time ago, with simply a new route (which
i will probably port to ZF in modified way some day). It works like this:
Fixed text is prepended with an @, while translatable parameters are
prepended with :@. For exa
Dear Friends,
I want to internationalize the urls of my Zend Framework-driven website.
The url-structure should look like this (ex. about us):
* de.domain.tld/ueber-uns/
* en.domain.tld/about-us/
* fr.domain.tld/sur-nous/
The default actual locale should be set to the selected subdomain.
I have c
I guess this is impossible.
--
View this message in context:
http://www.nabble.com/Zend_Form-Select-Element-tp21735298p22102435.html
Sent from the Zend Framework mailing list archive at Nabble.com.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
That really depends. The easiest thing would be to store the value in a
session, and if required give the user an hashed identifier as parameter
to identify the data. If the data should be long-term persistent or for
multiple users, store the data in a
danielito24 wrote:
>
> . . . if you really implement the preValidation-method - I don't see any
> reason left to implementing the CustomValidator 'FieldDepends' at all.
>
> You could implement the whole dependency-issue in the preValidation method
> too, because the general usage is lost anyw
How can I pass a parameter between two actions, but making it so the
second action cannot receive said parameter directly from the user?
- alex (from iphone)
jkendall wrote:
>
> I had some of the same reservations about adding a preValidation() call to
> my controller, but in the end I decided the explicit call was the best way
> to go.
Hm. I really spend some time dealing with this issue and came to the
conclusion, that - if you really implement th
Hi all,
I have just sent the below message from a different account, but there
seems to have been some problem in my subscription and the message
hasn't been circulated. I have checked the archives and can only
apologise if the message does finally appear and I end up double
posting.
A
18 matches
Mail list logo