iceangel89 schrieb:
i am using ZF1.8dev from SVN i tried the Preview Release version with
http://www.zfforums.com/zend-framework-general-discussions-1/resources-developers-37/bootstrapping-zf-1-8-way-2679.html#post9673
Bootstrapping the ZF1.8 way and it works but it fails with any later
versi
iceangel89 schrieb:
i am using ZF1.8dev from SVN i tried the Preview Release version with
http://www.zfforums.com/zend-framework-general-discussions-1/resources-developers-37/bootstrapping-zf-1-8-way-2679.html#post9673
Bootstrapping the ZF1.8 way and it works but it fails with any later
versio
If you only log from Controller (or something like that) you can also
create an ActionHelper, which will lazy-load your Log-object. Maybe You
are interested to write an Adapter, which will do that instead.
debussy007 schrieb:
Hi,
I have a plugin called at every request, which is choosing the
Moin.
The base idea behind this is, that if you add message-id's to your
source and miss to update your message-files, then the message-id is
returned. If this message-id is readable, its more comfortable for both
developer and user. Also if you want to extend your message you have
only to ed
http://de3.php.net/manual/en/language.types.object.php#language.types.object.casting
$sdtClass = (object) $array;
Kexiao Liao schrieb:
Is there any method in Zend Framework to convert an array into a stdClass?
A model should *never* redirect as it should only provide the data.
Nicolae Namolovan schrieb:
I need a basic url redirect, how can I do that with ZF ?
I'd prefer without any object creation, any static method ?
Looked at the 'Redirector.php', but can't really find any static
function for my pur
Hi
See "hashed_directory_level" at the link below. I can imagine, that this
will resolve your problem without overgive a directory everytime you
load or save a cacheset.
http://framework.zend.com/manual/en/zend.cache.backends.html#zend.cache.backends.file
Ralf Eggert schrieb:
Hi,
I am not q
Hi
If you simply forward (/$this->_forward()/), then all the POST-data
remains. A redirect (/$this->_redirect()/ or per redirector-helper) is a
new request made by the browser and regulary there is no way to perform
such a redirect with POST-data, but i dont see any cause to do this. You
are
Gunter Sammet schrieb:
Having some issues with inheritance and calling the init function. My
controller classes inhert from:
AdminController extends SaSo_Controller_Action
and
SaSo_Controller_Action extends Zend_Controller_Action
I added the constructor in both classes (AdminController an
Hi.
Set /throwExecptions/ to /false/, so Exception will automatically
forward to ErrorController/errorAction. There you also can display the
Exceptions not caught by the ErrorController.
Darby Felton schrieb:
Hi Mat,
You might try something like the following:
$request->setControllerName('
You are looking for something like this?
http://de2.php.net/manual/en/ref.tidy.php
Waigani schrieb:
Hi,
Are there any nifty classes to validate xhtml, css etc as w3c standards
compliant? A view helper might be good at this.
Cheers,
Peter Van Dijck schrieb:
Hi all,
I am using a caching identifier based on the URL. But I'm getting
strange effects: when accessing a URL I see the cached version of
*another* page.
This is the code I'm using for the cache identifier.
$cache_identifier = ereg_replace("/", "_", $_SERVER['REQUEST_
Hi,
You copy the library to a directory of your choice, eg
//path/to/htdocs/library/ (has to be readable). Then you set your
include-path to //path/to/htdocs/library/. You can do this in your
php.ini or directy in your file(s) you want to use components out of the
Framework.
set_include_
Hi,
You can use /get_declared_classes/ at the end of your script, to find
out, which classes exactly are only (for that request), so can can copy
all files you need (or delete all files you not need ;)). In Development
this seems not very comfortable to me, because integrating new features
wi
pat schrieb:
To ZF,
Did we ever agree on a way to turn off the view renderer so that it is
not initialized. I know there was talk about it, but I don't remember
the final decision. It is over 800 lines of code. That is a lot of
code to init each time if you are not using its features.
Ar
quot;;
}
Because the database-name stands before the function-call (i dont know
why ...)
Sebastian Krebs schrieb:
I like to use the "ATTACH [DATABASE]"-Command from SQLite, but it
seems, that Zend_Db_Table wont use it. I get an error, because PRAGMA
table_info doesnt wor
I like to use the "ATTACH [DATABASE]"-Command from SQLite, but it seems,
that Zend_Db_Table wont use it. I get an error, because PRAGMA
table_info doesnt work. It seems, that the table_info-function called by
Pragma dont allow the database-identifier (.)...
Has anybody a solution for this?
Hi.
Im using filenames like there are used for ZF-Classfiles and even for
Controller (eg IndexController) means: Directories and Filenames are all
first letter uppercase. But I see, that the viewRenderer himself only
take the module-, controller- and action-names like they are, without
any po
Hi
Maybe you use /clearHeaders()/, but its possible (i dont know), that
this are headers implicit set by Apache, PHP, Browser or someone else
and not by ZF.
Maurice Fonk schrieb:
Hi there,
I'm trying to set a cache control header for my controller's response
like this:
public function
First i have created resources with Zend_Acl_Resource as a
"string-container"
$res = new Zend_Acl_Resource ($request-> getControllerName ());
Now Ive implemted the Interface in my abstract Controller
// in Controller
$acl->add ($this);
It depends on what you want to protect, what you
First i have created resources with Zend_Acl_Resource as a
"string-container"
$res = new Zend_Acl_Resource ($request-> getControllerName ());
Now Ive implemted the Interface in my abstract Controller
// in Controller
$acl->add ($this);
It depends on what you want to protect, what you
21 matches
Mail list logo