Re: [fw-general] Removing of intersection table fields in findManyToManyRowset()

2010-03-01 Thread Elvin Şiriyev
ray('i' => $interName), Zend_Db_Select::SQL_WILDCARD, > $interSchema) > + $select->from(array('i' => $interName), array(), $interSchema) > -- Elvin Şiriyev http://siriyev.net

[fw-general] is that bug?

2010-01-16 Thread Elvin Şiriyev
$front->getDefault*(); (at line 144, 150 and 156) - to --------- $front->getRequest()->get*Name(); - then there is not any problem also. i'm using 1.10.0beta1 version. PS. sorry for my english. -- Elvin Şiriyev http://siriyev.net

Re: [fw-general] Inserting a text string or paragraph into Zend_Form

2009-08-22 Thread Elvin Şiriyev
ext string into Zend Form > > elements? > > > > I'm expecting: > > > > > > TEXT > > > > > > > > Do you know how to? > > > > > > Thanks ;-) > > > -- Elvin Şiriyev http://siriyev.net

Re: [fw-general] Segmentation fault

2009-08-22 Thread Elvin Şiriyev
And with $ sudo php -v it is working. but running zf as root there is same error. 2009/8/23 Elvin Şiriyev > i think it is fault of php-cli. because of that : > > $ php -v > PHP 5.2.6-3ubuntu4.1 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 23 2009 > 14:35:05) > Copyright (c)

Re: [fw-general] Segmentation fault

2009-08-22 Thread Elvin Şiriyev
version : 1.9.1 OS : ubuntu jaunty 9.04 include_path : .:/usr/share/php:/usr/share/pear On Sun, Aug 23, 2009 at 2:14 AM, Matthew Weier O'Phinney wrote: > > -- Elvin Şiriyev wrote > (on Sunday, 23 August 2009, 12:49 AM +0500): > > I don't know why i get that error mes

[fw-general] Segmentation fault

2009-08-22 Thread Elvin Şiriyev
I don't know why i get that error message. please help. thanks. $ zf show version Segmentation fault

[fw-general] find + sed strip require_once

2009-06-03 Thread Elvin Şiriyev
i think command[1] must change for Zend_Application. ? [1] http://framework.zend.com/manual/en/performance.classloading.html#performance.classloading.striprequires.sed -- Elvin Şiriyev http://siriyev.net

Re: [fw-general] How to get row ID back when using Save

2009-06-01 Thread Elvin Şiriyev
> > > Thanks, > > -J > -- > View this message in context: > http://www.nabble.com/How-to-get-row-ID-back-when-using-Save-tp23782987p23782987.html > Sent from the Zend Framework mailing list archive at Nabble.com. > > -- Elvin Şiriyev http://siriyev.net

Re: [fw-general] applicationi.ini and connect to db

2009-05-27 Thread Elvin Şiriyev
> >> { > >> > >> $sql = 'SELECT * FROM news ORDER BY data DESC'; > >> } > >> > >> but can i connect to my db for the query? > >> > >> > >> thanks. > > > > Hi, > > A good start point is the quickstart of the Zend Framework: > > http://framework.zend.com/docs/quickstart/ > > > > Regards, Jurian > > -- > > Jurian Sluiman > > Soflomo.com > > > > > > -- > View this message in context: > http://www.nabble.com/applicationi.ini-and-connect-to-db-tp23740320p23740753.html > Sent from the Zend Framework mailing list archive at Nabble.com. > > -- Elvin Şiriyev http://siriyev.net

Re: [fw-general] How to get an application resource inside a controller action

2009-05-27 Thread Elvin Şiriyev
; > Hi, > > > > what is the right way to get a db (or any other) resource in the > > controller? Now I'm using following line: > > $this->getFrontController()->getParam('bootstrap')->getResource('db'); > > Why do you need you DB i

[fw-general] Re: Bootstrap + Translate + Route

2009-05-15 Thread Elvin Şiriyev
isn't any advice about that? 2009/5/14 Elvin Şiriyev > Hi, > with following router i can take url's like that: > example.com/en/index/index > > at Bootstrap* > protected function _initTranslate() {}* > i can't take "*en*" with* > Zend_Contro

Re: [fw-general] how to access bootstrap resource (DB) from Zend_Form class?

2009-05-14 Thread Elvin Şiriyev
context: > http://www.nabble.com/how-to-access-bootstrap-resource-%28DB%29-from-Zend_Form-class--tp23534307p23534307.html > Sent from the Zend Framework mailing list archive at Nabble.com. > > -- Elvin Şiriyev http://elvin.siriyev.net

[fw-general] Bootstrap + Translate + Route

2009-05-14 Thread Elvin Şiriyev
'action' => 'index')); can anybody help about that? and can i write that route in application.ini ? thanks. -- Elvin Şiriyev http://elvin.siriyev.net

Re: [fw-general] how handle Locale ?

2009-05-14 Thread Elvin Şiriyev
ally in this > case. > All the reasons, and solutions are described in the manual. > > Greetings > Thomas Weidner, I18N Team Leader, Zend Framework > http://www.thomasweidner.com > > - Original Message - From: "Elvin Şiriyev" > To: "Thomas Weidner"

Re: [fw-general] how handle Locale ?

2009-05-08 Thread Elvin Şiriyev
Thomas Weidner, I18N Team Leader, Zend Framework > http://www.thomasweidner.com > > - Original Message - From: "Elvin Şiriyev" > To: > Sent: Friday, May 08, 2009 1:35 PM > Subject: [fw-general] how handle Locale ? > > > > hi, > my language files and Z

[fw-general] how handle Locale ?

2009-05-08 Thread Elvin Şiriyev
PPLICATION_PATH "/../languages" resources.translate.options.scan = filename -- Elvin Şiriyev http://elvin.siriyev.net

Re: [fw-general] Get Resources (DB) from Controllers

2009-05-08 Thread Elvin Şiriyev
rceYouNeed') > > > example : > $this->getFrontController()->getParam('boostrap')->getResource('db') > > iceangel89 a écrit : > > how can i access resources like the default db adapter from my controllers? > > > > > -- > Chiamate gratis da PC a PC? Provale da > Messenger!<http://messenger.it/videoconversazioni.aspx> > -- Elvin Şiriyev http://elvin.siriyev.net

Re: [fw-general] Confused with classes, helpers and html tables

2009-05-05 Thread Elvin Şiriyev
xt: Confused with classes, helpers and html > tables<http://www.nabble.com/Confused-with-classes%2C-helpers-and-html-tables-tp23372632p23372632.html> > Sent from the Zend Framework mailing list > archive<http://www.nabble.com/Zend-Framework-f15440.html>at Nabble.com. > -- Elvin Şiriyev http://elvin.siriyev.net

Re: [fw-general] Forms in Table

2009-05-04 Thread Elvin Şiriyev
-- + + - + > > can i do it? > -- > View this message in context: > http://www.nabble.com/Forms-in-Table-tp23362936p23362936.html > Sent from the Zend Framework mailing list archive at Nabble.com. > > -- Elvin Şiriyev http://elvin.siriyev.net

[fw-general] Zend_Form_Element_Multi::setDisableTranslator(true) -- Bug ?

2009-05-02 Thread Elvin Şiriyev
>element = $element; // HTML A B C // PHP $element = new Zend_Form_Element_Select('name'); $element->setDisableTranslator(true); $element->addMultiOptions(array('A', 'B', 'C')); $this->view->element = $element; // HTML -- Elvin Şiriyev http://elvin.siriyev.net

[fw-general] Zend_Application + Zend_Translate + Zend_Log

2009-04-30 Thread Elvin Şiriyev
). In each of those cases, yes, it's > working correctly .It does not work correctly from 1.7.8, and mixing it > into an existing release is not something I would expect to work (there > are many dependencies, some of which are on features specific to the 1.8 > release.) > > -- > Matthew Weier O'Phinney > Project Lead | matt...@zend.com > Zend Framework | http://framework.zend.com/";>http://framework.zend.com/ > > -- Elvin Şiriyev http://elvin.siriyev.net

Re: [fw-general] ZF (Zend_Tool)

2009-04-24 Thread Elvin Şiriyev
> There's a problem though if you're using Zend Server like me. It seems that > its PHP binary is compiled without tokenizer support, so the token_get_all() > call in Zend_Reflection_File fails. > >-- Mon > > > 2009/4/24 Rob Allen > > >> On 24 Apr 2

[fw-general] ZF (Zend_Tool)

2009-04-24 Thread Elvin Şiriyev
not found in /home/../zfnew/application/controllers/IndexController.php on line 3 -- Elvin Şiriyev http://elvin.siriyev.net

[fw-general] Zend_Acl for MVC ?

2009-04-08 Thread Elvin Şiriyev
is there any example code about Zend_Acl for MVC (defining and controlling). i mean "ACL for MVC" is : example: guest can't see /default[module]/user[controller]/*[action] but only administrator can access /manage/*/* thx -- Elvin Şiriyev http://elvin.siriyev.net

Re: [fw-general] Zend_Application + Controller > Action

2009-04-08 Thread Elvin Şiriyev
ollerName()); > return ($controllerName); > } > } > > 2. Then, you can call this method wherever you want > in a controller : $this->view->controllerName() > in a view script : $this->controllerName() > > > > 2009/4/8 Elvin Şiriyev > >> anoth

Re: [fw-general] Zend_Application + Controller > Action

2009-04-08 Thread Elvin Şiriyev
uff into views, in your > bootstrap you can set variables on the view, and you can use front > controller plugin, action helpers etc. > > Just have a think to why you need to do this, it may be that this > should be handled in your Model. > > Thx > > Ke

Re: [fw-general] Zend_Application + Controller > Action

2009-04-08 Thread Elvin Şiriyev
oller, which would > make them accessible inside controllers: > > protected _initFrontControllerExtras() > { >$this->bootstrap('frontcontroller'); >$this->frontController->setParam('x','xxx'); >// or > > >

[fw-general] Zend_Application + Controller > Action

2009-04-08 Thread Elvin Şiriyev
r $this->db, $this->layout, $this->locale or another easy way ? thanks -- Elvin Şiriyev http://elvin.siriyev.net -- Elvin Şiriyev http://elvin.siriyev.net

[fw-general] Zend_Application

2009-04-07 Thread Elvin Şiriyev
Where i can download Zend_Application ? i cannot found it in svn. thx -- Elvin Şiriyev http://elvin.siriyev.net

[fw-general] Zend View Limitations

2009-02-20 Thread Elvin Şiriyev
Hi, i want users to change their profiles view (.phtml) script. but i don't want user can write $_SESSION['user_id'] = 1; how can i limit like that functions on view script ?

Re: [fw-general] Zend_Db_Select Order By

2008-10-09 Thread Elvin Şiriyev
#x27; at first. On Wed, Oct 8, 2008 at 3:33 PM, Tom Graham <[EMAIL PROTECTED]> wrote: > Hi, > > Try something like: $select->where('b.status = ?', 'new')->order('b.status > ASC'); > > On 8 Oct 2008, at 13:22, Elvin Şi

[fw-general] Zend_Db_Select Order By

2008-10-08 Thread Elvin Şiriyev
hi, i can't use "order by" like that: $select->order("b.status = 'new'"); Error Message : *Fatal error*: Uncaught exception 'Zend_Db_Statement_Mysqli_Exception' with message 'Mysqli prepare error: Unknown column 'b.status = 'new'' in 'order clause'' in ... Thanks for helps, -- Elvin Şiriyev