Hi.
When making Zend_Translate instance
new Zend_Translate('gettext', $file), for default language, I don't have po
file, so, if I pass null for file, I get error Zend_Translate_Exception:
Error opening translation file ''.
So, how can I prevent this?
Regards,
Saša Stamenković
Hi.
I'm working with zf for a while, and I noticed some things:
1. Many methods and constructors, are poorly documented.
Example: Zend_Translate constructor
/**
* Generates the standard translation object
*
* @param string $adapter Adapter to use
* @param
Hi.
I have model which extends Zend_Db_Table_Abstract, and I'm inserting more
than 1 records in table using Zend_Db_Table_Abstract::insert() in one
foreach loop. I get Service Temporarily Unavailable 503 error. I profiled,
there is nothing wron with queries. For less than 7000 it works
Hi to all.
I have Zend framework app created by Zend Tool, with default project
structure. I use models, and my library, everithing is set up, autoload.. My
bootstrap file:
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap {
protected function _initAutoload() {
return new
Hi.
Is there any way to integrate this 2? I have models, and fetchAll is
returning Zend_Db_Table_Rowset, it would be nice if i can fill select boxes
with this data without foreach in my views.
Regards,
Saša Stamenković
Hi.
Try $this-*getInvokeArg*('bootstrap')-getResource('foo');
Check
http://www.nabble.com/How-to-get-an-application-resource-inside-a-controller-action-td23728917.html#a23729095
Regards,
Saša Stamenković
On Thu, Jul 9, 2009 at 3:26 PM, holografix . hologra...@gmail.com wrote:
Hi
I have
Thats what is written on the website, but try to download and you'll see
that there is 22MB, or am I doing sth wrong?
Regards,
Saša Stamenković
2009/7/9 Christopher Östlund christopher.oestl...@gmail.com
The minimal version of ZF is just 4.5MB, is that really too big?
On Thu, Jul 9, 2009
...
Regards,
Saša Stamenković
On Thu, Jul 9, 2009 at 3:40 PM, holografix . hologra...@gmail.com wrote:
Hi Caшa
Thank you very much. It was a stupid error in my code. It missed a return
$foo in the _initFoo() method. Sorry for this.
cheers
holo
2009/7/9 Саша Стаменковић umpir...@gmail.com
Hi
The case is:
You want to implement simple twitter (Zend_Service_Twitter) script or
contact form (Zend_Form), so you want target component with dependencies
(e.g. autoload, Zend_Http for twitter...) and your script will be installed
on clients server, and he will ask : Why your contact form have
-Framework-Packagizer :(
Regards,
Saša Stamenković
2009/7/9 Саша Стаменковић umpir...@gmail.com
The case is:
You want to implement simple twitter (Zend_Service_Twitter) script or
contact form (Zend_Form), so you want target component with dependencies
(e.g. autoload, Zend_Http for twitter
Yes, I know, but I must build package manually :)
Regards,
Saša Stamenković
On Thu, Jul 9, 2009 at 4:11 PM, kamil luznyg...@poczta.onet.pl wrote:
Christopher Östlund pisze:
The minimal version of ZF is just 4.5MB, is that really too big?
On Thu, Jul 9, 2009 at 3:52 PM, umpirsky
Thinking about building custom downloader, which will build download with
dependencies, will anyone use it?
Maybe this can be added to Zend_Tool and then used on zend website...
Regards,
Saša Stamenković
On Thu, Jul 9, 2009 at 9:58 PM, Саша Стаменковић umpir...@gmail.com wrote:
Not if you
We can create new thread and share zend oriented api. All of us have sth
implemented, I have started tr.im API class, extended twitter API
class...someone probably have pay-pal e.t.c why not zip and share it right
there on mail list? They might not be perfect, but can be used to see way
sth is
How do you think we can specify dependencies?
Regards,
Saša Stamenković
On Fri, Jul 10, 2009 at 4:35 PM, Matthew Weier O'Phinney
matt...@zend.comwrote:
-- Саша Стаменковић umpir...@gmail.com wrote
(on Friday, 10 July 2009, 11:40 AM +0200):
Thinking about building custom downloader, which
10, 2009 at 05:26:59PM +0200, Саша Стаменковић wrote:
How do you think we can specify dependencies?
Custom builds are best solutions for some reasons.
I think we can do some recursive parsing of php files under library
and handle the matching require_once entries, can we?
The given
would actually take an automated approach first, by scanning the code for
markers that identify classes in other packages. This could either by by
scanning for class names or, currently, looking for require statements
(although those will prob. go away in 2.0).
-ralph
Саша Стаменковић wrote
,
Saša Stamenković
On Sat, Jul 11, 2009 at 12:30 AM, till klimp...@gmail.com wrote:
On Fri, Jul 10, 2009 at 4:35 PM, Matthew Weier
O'Phinneymatt...@zend.com wrote:
-- Саша Стаменковић umpir...@gmail.com wrote
(on Friday, 10 July 2009, 11:40 AM +0200):
Thinking about building custom downloader
Wow, looks like long should be used instead int, right?
Regards,
Saša Stamenković
On Sun, Jul 12, 2009 at 5:04 PM, Thorsten Suckow-Homberg
t...@siteartwork.dewrote:
Looking into into the current release (1.8.4), I see that
Zend_Service_Twitter does not consider the integer overflow problem
Hi.
Zend_Db_Table_Abstract::fetchAll() * @return Zend_Db_Table_Rowset_Abstract
The row results per the Zend_Db_Adapter fetch mode. So, its
Zend_Db_Table_Rowset_Abstract
type you get, not an array.You can use Zend_Db_Table_Rowset_Abstract::toArray()
if you want an array, or iterate trough
O.K.
Let's fix your code:
//Your
$table = new Model_Crescores();
$select = $table-select();
$select-order('cap_no');
$array = $table-fetchAll($select);
//Fixed
$table = new Model_Crescores();
$select = $table-select();
$select-order('cap_no');
$rowset = $table-fetchAll($select);
$array =
Just check datatype before use variables, zf is well documented and it's
easy to navigate methods and look into docblocks.
Regards,
Saša Stamenković
On Tue, Jul 14, 2009 at 9:45 AM, jigen7 i_love_ji...@yahoo.com wrote:
thank you very much really appreciate it ^^ im still not use and aware in
Why not use session instead?
Regards,
Saša Stamenković
On Wed, Jul 15, 2009 at 12:36 PM, Sergio Rinaudo
kaiohken1...@hotmail.comwrote:
Hi,
on my project I want to save all the location where the user was ( maybe
last 5 locations ) and show to him as a reminder.
Then I thought to use the
Didn't use cookies in zf, but I know they are used in Zend_Http_Client, so
you can check the source ;)
Regards,
Saša Stamenković
2009/7/15 Sergio Rinaudo kaiohken1...@hotmail.com
Hi,
I would like that when the user close the browser, reopen it, and comes to
the website again, he can see
Great. Any place where we can see full list, and bugs fixed?
Regards,
Saša Stamenković
On Fri, Jul 17, 2009 at 11:08 PM, Matthew Weier O'Phinney
matt...@zend.comwrote:
The Zend Framework team announces the immediate availability of a preview
release of version 1.9.0:
Isn't it always 1? Is it possible to insert multiple rows at once?
Regards,
Saša Stamenković
On Sat, Jul 18, 2009 at 6:05 PM, Juozas juo...@juokaz.com wrote:
Hi,
how about lastInsertId()? http://framework.zend.com/manual/en/zend.db.html
$db-insert('bugs', $data);
// return the last
Looks like Pear XMLRPC2 is faster http://pear.php.net/package/XML_RPC2/. I
replaced Zend_XmlRpc_Server with PEAR XML_RPC2_Server and perfermances are
better, with same functionality.
Regards,
Saša Stamenković
On Thu, Jul 23, 2009 at 9:32 AM, umpirsky umpir...@gmail.com wrote:
Hi zfers.
I
Wow, great, now it's faster. Thanks Matthew.
Isn't automatic_serialization true by default in Zend_Cache?
Why isn't this implemented in Zend_XmlRpc_Server_Cache?
Regards,
Saša Stamenković
On Fri, Jul 24, 2009 at 2:21 PM, Matthew Weier O'Phinney
matt...@zend.comwrote:
-- umpirsky
Hi.
http://framework.zend.com/manual/en/requirements.html#requirements.dependenciesto
http://www.nabble.com/Zend-Framework-Custom-Builds-tp24410459p24410459.html
Regards,
Saša Stamenković
On Mon, Jul 27, 2009 at 2:37 PM, prodigitalson ant.cunning...@gmail.comwrote:
Ive got a couple sites in
I have this script to extract packages with dependencies, but it's only for
internal use, if you are interested I can share.
Regards,
Saša Stamenković
On Mon, Jul 27, 2009 at 3:26 PM, prodigitalson ant.cunning...@gmail.comwrote:
umpirsky wrote:
Hm, will it be possible to set autoloader like now, and don't need to mess
around with namespace and require (use) statements?
Regards,
Saša Stamenković
On Thu, Jul 30, 2009 at 3:41 PM, Matthew Weier O'Phinney
matt...@zend.comwrote:
-- Jens Ljungblad jens.ljungb...@tjoff.com wrote
(on
When we are discussing about this...here is the case:
you have a form
form id=search method=get action=?= $this-url()) ?
...
/form
When you submit this form you get query string in your url, is there a way
to make it /name/param/... and not ?name=param...?
O.K. One option is javascript...another
for 1.9.1 release).
Mickael.
Саша Стаменковић a écrit :
Hm.. phpdoc -o CHM:default:default -d srcpath -t destpath -ti title
will create PHP doc in chm, but I saw some people compiled manual
http://framework.zend.com/manual/en/ to chm, ex
http://www.mikaelkael.fr/Zend-Framework-CHM-Compilation.html
Maybe this snippet can give you idea
http://www.zfsnippets.com/snippets/view/id/39/time-measurement-with-zendmeasuretime
Regards,
Saša Stamenković
On Wed, Aug 12, 2009 at 2:11 PM, Mathieu Suen mathieu.s...@easyflirt.comwrote:
Hi,
Using Zend_Date how could we get the difference between 2
something like this:
$date = new Zend_Date();
$date-setTimezone('UTC');
$date-set($dbRow-date, '-MM-dd HH:mm:ss');
$nowDate = new Zend_Date();
$nowDate-setTimezone('UTC');
$timeSlice = $nowDate-subDate($nowDate);
$timeSlice-get('dd HH:mm:ss');
Саша Стаменковић a écrit :
Maybe
matt...@zend.comwrote:
-- Саша Стаменковић umpir...@gmail.com wrote
(on Saturday, 18 July 2009, 02:50 AM +0200):
Great. Any place where we can see full list, and bugs fixed?
That's the full list of major features. For the bugs fixed, we haven't
published a changelog yet as the release
Hi zf gurus!
I want to add options to Zend_Form_Element_Select from rowset
(Zend_Db_Table_Rowset_Abstract) I fetched from database. The problem is that
options must have appropriate structure, and to achieve this, I must iterate
rowset and build options. Is there any way to load options from
Is there a way to share helpers and layouts between modules?
I did this by creating view subfolder in the application folder, and set
paths according to it. any other way?
Regards,
Saša Stamenković
This is the error I get when passing null value to XML-RPC server:
PHP Fatal error: Class 'Zend_XmlRpc_Value_Nil' not found in
ZendFramework/library/Zend/XmlRpc/Value.php on line 313
It occurs in 1.9.2 version, for some reason in Zend/XmlRpc/Value.php near
313 are added require onces for each
Nice work ;)
Regards,
Saša Stamenković
On Tue, Sep 15, 2009 at 3:42 PM, Kyle Spraggs the...@spiffyjr.me wrote:
I wasn't quite sure which category to post this in but went with the
general topic. If this is incorrect please correct me and I'll move it to
the appropriate category.
Finding a
My vote for layout by default!
Regards,
Saša Stamenković
On Wed, Sep 16, 2009 at 10:16 AM, aoohralex aoohra...@gmail.com wrote:
Matthew:
ok - I needn't register to download ZF, but I didn't see these links at the
bottom of page and I thought that I must register to download ZF.
You have
Me too, what routes have to do with url helper?
Regards,
Saša Stamenković
On Fri, Sep 18, 2009 at 11:44 AM, aoohralex aoohra...@gmail.com wrote:
I completly don't understand.
--
View this message in context:
Hi.
I'm crawling this site http://www.mojauto.rs using Zend_Http_Client. Strange
thing is that I get messed Serbian characters (č.ć,ž...), probably encoding
problem. I tried to explicitly set utf-8 with
$client-setHeaders('Content-type: text/html; charset=utf-8'); but same
problem occurs.
Any
Idea is to find the way how to use them in PHP. Running away from the
problem is not the solution ;)
Regards,
Saša Stamenković
On Tue, Sep 22, 2009 at 11:59 AM, Benjamin Eberlei kont...@beberlei.dewrote:
You shouldnt use Mysql ENUMS, they have some ugly properties.
Any change in the list
klimp...@gmail.com wrote:
On Tue, Sep 22, 2009 at 12:07 PM, Саша Стаменковић umpir...@gmail.com
wrote:
Idea is to find the way how to use them in PHP. Running away from the
problem is not the solution ;)
Regards,
Saša Stamenković
What Benjamin meant to say is that changing an ENUM
Didn't know that really. I'm working on pretty large project and there are
enums all over tables, works fine. Will check ;)
Regards,
Saša Stamenković
On Tue, Sep 22, 2009 at 1:04 PM, till klimp...@gmail.com wrote:
On Tue, Sep 22, 2009 at 12:56 PM, Саша Стаменковић umpir...@gmail.com
wrote
I monitored firefox headers with live HTTP headers when visiting this site,
and it sends Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
when I do the same, I still get wrong chars :(
Regards,
Saša Stamenković
On Tue, Sep 22, 2009 at 10:49 AM, umpirsky umpir...@gmail.com wrote:
Hi.
I'm
that didn't help :(
Regards,
Saša Stamenković
On Tue, Sep 22, 2009 at 2:27 PM, Саша Стаменковић umpir...@gmail.comwrote:
I monitored firefox headers with live HTTP headers when visiting this site,
and it sends Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
when I do the same, I still get wrong
There is already issue http://framework.zend.com/issues/browse/ZF-3938...
Regards,
Saša Stamenković
On Tue, Sep 22, 2009 at 3:08 PM, Саша Стаменковић umpir...@gmail.comwrote:
Hehum, in Zend_Dom_Query #177
$domDoc = new DOMDocument;
it should be
$domDoc = new DOMDocument('1.0', 'utf-8
I'm trying... :P
Regards,
Saša Stamenković
On Tue, Sep 22, 2009 at 3:40 PM, till klimp...@gmail.com wrote:
On Tue, Sep 22, 2009 at 3:18 PM, Саша Стаменковић umpir...@gmail.com
wrote:
There is already issue http://framework.zend.com/issues/browse/ZF-3938.
..
Regards,
Saša Stamenković
. For example:
$row = $table-find(1)-current();
$row-status; // 'approved'
echo MyTable::$row-status; // I don't think this works.
--
Hector
On Tue, Sep 22, 2009 at 4:06 AM, Саша Стаменковић umpir...@gmail.comwrote:
Didn't know that really. I'm working on pretty large project
I'm trying to do this with set_error_handler(), my will is to trigger Error
controller and catch this as application error, since I want to log all
errors in one place - Error controller.
I tried with setting error handler in bootstrap to function in index.php and
that function calls error
/ 404 / 500 response codes based on the
type of exception, no matter if it is thrown within the dispatch loop.
drm / Gerard
Саша Стаменковић wrote:
I'm trying to do this with set_error_handler(), my will is to trigger
Error controller and catch this as application error, since I want
Thx. But I can't see how this can help :P
Regards,
Saša Stamenković
On Thu, Sep 24, 2009 at 3:00 PM, Vincent de Lau vinc...@delau.nl wrote:
What i did was writing a function that simply throws an exception and
passing that function to set_error_handler, something like this:
Fixed:
// Add button
$submit = new Zend_Form_Element_Button(array(
'name' = 'quick-search-submit',
'label' = 'span class=ui-icon ui-icon-searchnbsp;/spanTraži',
'escape' = false,
'class' = 'ui-corner-all ui-button ui-state-default'
));
$submit-setDecorators(array('ViewHelper'));
*Warning*: set_error_handler() expects the argument
(ErrorController::phpError) to be a valid callback in *
/mnt/home/sasas/www/auto/application/Bootstrap.php* on line *16*
Regards,
Saša Stamenković
On Mon, Sep 28, 2009 at 12:29 PM, Karol Grecki kgre...@gmail.com wrote:
Try this, it works
Nice answer Grecki, thanks.
require_once 'controllers/ErrorController.php';
set_error_handler(array('ErrorController', 'phpError'));
fixed problem. Strange :)
Regards,
Saša Stamenković
On Mon, Sep 28, 2009 at 1:03 PM, Karol Grecki kgre...@gmail.com wrote:
If you named your functions
or directory in /mnt/home/sasas/www/Zend/Loader.php #165.
which is strange, why loader looks for helpers in my helpers path, and not
in zf library first?
Regards,
Saša Stamenković
On Mon, Sep 28, 2009 at 1:08 PM, Саша Стаменковић umpir...@gmail.comwrote:
Nice answer Grecki, thanks
path, and
not
in zf library first?
Regards,
Saša Stamenković
On Mon, Sep 28, 2009 at 1:08 PM, Саша Стаменковић
umpir...@gmail.comwrote:
Nice answer Grecki, thanks.
require_once 'controllers/ErrorController.php';
set_error_handler(array('ErrorController', 'phpError
to open stream: No such
file or directory in /mnt/home/sasas/www/Zend/Loader.php #165.
which is strange, why loader looks for helpers in my helpers path, and
not
in zf library first?
Regards,
Saša Stamenković
On Mon, Sep 28, 2009 at 1:08 PM, Саша Стаменковић
umpir
that one and handle it. You would of course want to eliminate every
possibility your error handler itself is faulty.
drm / Gerard
Саша Стаменковић wrote:
Thx. But I can't see how this can help :P
Regards,
Saša Stamenković
On Thu, Sep 24, 2009 at 3:00 PM, Vincent de Lau vinc
I need something like addElementDecorators() :D
Regards,
Saša Stamenković
On Tue, Sep 29, 2009 at 3:46 PM, umpirsky umpir...@gmail.com wrote:
Hi.
I'm trying to do the following thing.
I have some form, and I'm putting elements on it one by one, when I finish,
I call
*Fatal error*: Call to a member function addDecorator() on a non-object
in...
Regards,
Saša Stamenković
On Tue, Sep 29, 2009 at 4:34 PM, alayn al...@irontec.com wrote:
Have you tried with something like:
$form-setElementDecorators(
.
.
.
);
decorators for some desired elements :)
Regards,
Saša Stamenković
On Wed, Sep 30, 2009 at 7:49 AM, Саша Стаменковић umpir...@gmail.comwrote:
*Fatal error*: Call to a member function addDecorator() on a non-object
in...
Regards,
Saša Stamenković
On Tue, Sep 29, 2009 at 4:34 PM, alayn al
setting decorators, so you can aviod owerwriting
decorators for some desired elements :)
Regards,
Saša Stamenković
On Wed, Sep 30, 2009 at 7:49 AM, Саша Стаменковић umpir...@gmail.comwrote:
*Fatal error*: Call to a member function addDecorator() on a non-object
in...
Regards,
Saša
and the Pluginloader, it shows a way to
reduce the amount of plugin loader instances.
2009/9/30 Саша Стаменковић umpir...@gmail.com:
But he can cache rendered content, then time will be spent just on
pulling
html from cache (shooting in the dark) ;)
I would try both and do some benchmarking - plz share
Made this method work, form is now 3 times slower :(
Regards,
Saša Stamenković
On Wed, Sep 30, 2009 at 11:49 AM, Саша Стаменковић umpir...@gmail.comwrote:
Tried to add
public function addElement($element, $name = null, $options = null)
{
if (!is_array($options
Thanks for the response Matt.
My profiler says that lot of time is spent on fetching data and
executing setMultiOptions
on select elements. I guess caching can help.
Only I'm thinking about caching strategy...
Will get back after optimization...
Regards,
Saša Stamenković
On Wed, Sep 30, 2009
-loadDefaultDecorators();
return $this;
}
Does this works faster for someone?
Regards,
Saša Stamenković
On Wed, Sep 30, 2009 at 3:36 PM, holografix . hologra...@gmail.com wrote:
Hi
Can you post your solution here ?
Cheers
holo
2009/9/30 Саша Стаменковић umpir...@gmail.com
Made
I'ts not 3 times slower, my test form depends on db speed, which is changing
like mad :P
Regards,
Saša Stamenković
On Wed, Sep 30, 2009 at 3:58 PM, Саша Стаменковић umpir...@gmail.comwrote:
It failed because I'm adding elements like $this-addElement($brand); and
name is not provided
Try:
$res = $dom-query('input[type=text][value=somevalue]');
Regards,
Saša Stamenković
On Thu, Oct 1, 2009 at 11:19 PM, gerardroche bullfrogbl...@live.com wrote:
how would you query two attributes together?
I've tried quite a fwe variations:
input type=text value=somevalue' /
$res =
get initialized?. Zend_Registry gives us no clues as to
where or when that cache was registered, but the bootstrap resource clues us
in to the bootstrap.
--
Hector
On Mon, Oct 5, 2009 at 10:59 PM, Саша Стаменковић umpir...@gmail.comwrote:
Thx Hector.
Nice answer and useful code example
How do you initialize Zend_Translate in your bootstrap?
Regards,
Saša Stamenković
On Wed, Oct 7, 2009 at 10:38 PM, ignace developer.ign...@gmail.com wrote:
Ok the code i used is:
if ($this-_hasParam('language')) {
$language = $this-_getParam('language');
Why I want to do this in the form is, I want to set url on one place. Form
will be rendered in many views, I don't want each of them set separate url,
want to do it in one place, in the form init.
Regards,
Saša Stamenković
On Wed, Oct 21, 2009 at 3:22 PM, Kyle Spraggs the...@spiffyjr.me wrote:
the
helper you could initialize the form and set its action url.
Regards, Jurian
--
Jurian Sluiman
Soflomo.com
Op Wednesday 21 October 2009 15:47:45 schreef Саша Стаменковић:
Why I want to do this in the form is, I want to set url on one place.
Form
will be rendered in many views, I
I see your point, and having them under ZendX can be useful. Is there some
way to download ZendX instead getting it from svn?
Regards,
Saša Stamenković
On Sun, Oct 25, 2009 at 2:27 AM, Pádraic Brady padraic.br...@yahoo.comwrote:
There are no plans that I'm aware of since there are something
Thx.
Regards,
Saša Stamenković
On Mon, Oct 26, 2009 at 9:00 AM, Jurian Sluiman
subscr...@juriansluiman.nlwrote:
Grab the full package. It's inside the 'extras' folder.
Regards, Jurian
--
Jurian Sluiman
Soflomo.com
Op Monday 26 October 2009 08:25:41 schreef Саша Стаменковић:
I see
Great, thanks.
Regards,
Saša Stamenković
On Tue, Oct 27, 2009 at 12:35 PM, drm d...@melp.nl wrote:
umpirsky wrote:
expected result is 2010-03-01. The whole year is missed :)
Quoting PHP manual:
---
o - ISO-8601 year number. This has the same value as /Y/, except that if
the ISO week
If you send header HTTP code 500 from your controller
$this-getResponse()-setHttpResponseCode(500);
you can catch it in your javascript with
$.ajax({
type: 'POST',
url: '/c/a',
data: $('#form').serialize(),
dataType: 'html',
success: function(response) {
// success code
},
error: function() {
I achieved this with my custom view helper:
?php
/**
* Select with custom css helper.
*
* @package Forms
* @author Sasa Stamenkovic umpir...@gmail.com
*/
/**
* Select brand helper, options class customization.
*
* @package Forms
*/
class Umpirsky_View_Helper_FormSelectCustom extends
On Thu, Oct 29, 2009 at 4:16 PM, drm d...@melp.nl wrote:
Саша Стаменковић wrote:
class Umpirsky_View_Helper_FormSelectCustom extends
Zend_View_Helper_FormSelect {
Hi Saša,
Good solution, which I would have suggested if same classes for all the
options wouldn't suffice.
Little suggestion
Why locale is not on this page
http://framework.zend.com/manual/en/zend.application.available-resources.html?
Can you give example setting it from config?
Regards,
Saša Stamenković
On Thu, Oct 29, 2009 at 10:59 PM, Ed Lazor
edla...@internetarchitects.bizwrote:
I'm trying to clean up my
Will use this topic to ask sth.
When generating controllers like TwoWordsController if you run zf controller
twoWords, view script folder gets name like twoWords instead two-words,
similar problem occurs with controller name when running zf controller
two-words.
Is this a bug?
Regards,
Saša
it should be
class Admin_GalleryController extends Zend_Controller_Action
As I said not sure if it is a bug/problem but we have to correct the
classname everytime we create a controller under a module.
scs
On Tue, Nov 3, 2009 at 8:55 AM, Саша Стаменковић umpir...@gmail.com
wrote:
Will use
but we have to correct the
classname everytime we create a controller under a module.
scs
On Tue, Nov 3, 2009 at 8:55 AM, Саша Стаменковић umpir...@gmail.com
wrote:
Will use this topic to ask sth.
When generating controllers like TwoWordsController if you run zf
controller
twoWords, view
Problem is in http client, since it occurs on some servers, and on some not,
probably depending on headers they send by default.
Regards,
Saša Stamenković
On Tue, Sep 22, 2009 at 2:42 PM, Саша Стаменковић umpir...@gmail.comwrote:
I'm trying... :P
Regards,
Saša Stamenković
On Tue, Sep
Ah, wrong decorators - fixed!
Regards,
Saša Stamenković
On Fri, Nov 6, 2009 at 9:20 AM, umpirsky umpir...@gmail.com wrote:
Yes, or
$this-addDisplayGroup(
array(
'e1',
'e2'
),
'name',
I'm not sure, but it looks like you need to consider 'º' utf-8 value in your
regex somehow.
Regards,
Saša Stamenković
On Mon, Nov 9, 2009 at 1:48 PM, Саша Стаменковић umpir...@gmail.com wrote:
http://www.roscripts.com/PHP_regular_expressions_examples-136.html
http://www.roscripts.com
@Thomas Weidner
*
*
date_default_timezone_set('Europe/Stockholm'); is in bootstrap.
@kobsu
*
*
*Same result :(
*
Regards,
Saša Stamenković
On Tue, Nov 10, 2009 at 6:20 PM, kobsu ko...@iki.fi wrote:
Try
Zend_Date::setOptions(array('fix_dst' = true));
before
$date = new Zend_Date();
://www.thomasweidner.com
- Original Message - From: Саша Стаменковић umpir...@gmail.com
To: kobsu ko...@iki.fi
Cc: fw-general@lists.zend.com
Sent: Wednesday, November 11, 2009 7:59 AM
Subject: Re: [fw-general] Zend_Date problem
@Thomas Weidner
*
*
date_default_timezone_set('Europe
locales I get:
sr_RS: string '2009-10-22T10:01:36+02:00' (length=25)
en_GB:string '2009-10-22T10:01:36+02:00' (length=25)
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
- Original Message - From: Саша Стаменковић umpir...@gmail.com
To: Thomas
Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
- Original Message - From: Саша Стаменковић umpir...@gmail.com
To: Thomas Weidner thomas.weid...@gmx.at
Cc: fw-general@lists.zend.com
Sent: Wednesday, November 11, 2009 9:44 AM
Subject: Re: [fw-general] Zend_Date
Hi, glad to see webinar on this subject.
Topics:
- Caching translations ad optimization.
- Best practices and how to pick right adapter.
- Picking phrases from templates automation.
- Translating routes (urls)
Regards,
Saša Stamenković
On Sun, Nov 15, 2009 at 12:58 AM, Daniel
Hi.
Zend_Controller_Front::getInstance()-getParam('bootstrap')-
getResource('Cache');
But I like
$cache = Zend_Registry::get('Zend_Cache);
it's shorter.
Regards,
Saša Stamenković
On Tue, Nov 17, 2009 at 8:34 AM, Nick Pack n...@nickpack.com wrote:
This is probably a dumb question, but I'm
Naah, a little drag :)
I didn't like factory methods at first, didn't like strings instead
constants..., but now I just don't want to break the chain.
Will do it like you said
$group = $form-getDisplayGroup('
group1');
$group-removeDecorator('Label');
Thanks for the fast response!
Hehum, after this:
...
)-addDisplayGroup(
array(
'brand',
'model',
'year_from',
'year_to',
'price_from',
'price_to',
'kilometer_from',
'kilometer_to'
Removing 'DtDdWrapper' did the job.
Regards,
Saša Stamenković
On Tue, Nov 17, 2009 at 7:53 PM, Саша Стаменковић umpir...@gmail.comwrote:
Hehum, after this:
...
)-addDisplayGroup(
array(
'brand',
'model',
'year_from
Aaargh, now I get invalid xhtml. Will override DispalyGroup.
Regards,
Saša Stamenković
On Wed, Nov 18, 2009 at 8:51 AM, Саша Стаменковић umpir...@gmail.comwrote:
Removing 'DtDdWrapper' did the job.
Regards,
Saša Stamenković
On Tue, Nov 17, 2009 at 7:53 PM, Саша Стаменковић umpir
Same problem here :(
Regards,
Saša Stamenković
On Wed, Nov 18, 2009 at 1:12 AM, kusum kusumso...@sify.com wrote:
I am trying to use zend_Translate for translation in my application but it
is
not working :-((
I am using en.mo and en.po files for translation in my lang folder
In my
Poedit - catalog - settings - keywords - add your function name, in this
case 'translate'.
Poedit will look for translate() calls and put in all strings. If you need
to inject variables into your translation, use sprintf, like:
? $this-sprintf(%this-translate('You added %s items.'),
Great, thanks!
Regards,
Saša Stamenković
On Mon, Nov 23, 2009 at 4:33 PM, Matthew Weier O'Phinney
matt...@zend.comwrote:
-- umpirsky umpir...@gmail.com wrote
(on Monday, 23 November 2009, 05:15 AM -0800):
I want to become a contributor. Reading
1 - 100 of 310 matches
Mail list logo