Thanks - That was useful indeed.
--
troels
On Wed, Sep 16, 2009 at 11:46 PM, Paul M Jones pmjone...@gmail.com wrote:
On Sep 16, 2009, at 14:02 , troels knak-nielsen wrote:
Hi.
I'm looking into replacing a legacy system with Zend_Db + subpackages
(Zend_Db_Table and friends), but I'm
Am 16.09.2009 um 12:14 schrieb Vladas Diržys:
Hi,
I would like to test and to use it in one of my projects. I also
would give you a feedback what I (didn't) liked or what features I
miss.
So if it would be possible, please sent me this package or the
download link :-)
Anyway, I think
I have in database two tables:
books:
- id PK
- title
authors:
- id PK
- author
- id_book FK
1 book can have many authors. I want to learn ZF so database doesn't matter
(I know it should be that also 1 author can have many books and it shouldn't
be column 'author' but column 'name' and
try setting Integritiy Check to false:
setIntegrityCheck
public function getBooksAuthors()
{
$select = $this-select();
//Add next line
$select-setIntegrityCheck(false);
-from(array('b' = 'books'))
Hi all,
I'm wondering if anyone is building the API docs locally and can give
me a rough indication of the amount of memory required? I keep getting
memory out errors after _some time_ :-)
TIA
Carlton
Your solution works but as I understand it disables checking integrity data
in database - is it good and normal solution in Zend Framework ? I would
like to use good style programming. Is this a good solution - disabling
checking integrity ?
--
View this message in context:
As far as I know, the integrity check works on a table - row basics. It
checks that a row you are getting can be directly deleted or updated
through $row-delete() and $row-save() methods.
As you are joining more than a table you are creating a virtual row
that is not directly modifyable, so you
Hello
I have 4 different sets of controller directories
/application/admin
/default
/clinicians
/patients
All errors are now handled by
/application/default/controllers/ErrorController.php
How can I set it up to have 4 ErrorHandler?
Eg. An error
Excellent news - it will be great to have some way of getting patches
integrated into trunk.
Is there some other way of asking for patches to be reviews [at any time
during the month], or do we have to hop on IRC on the designated days?
Matthew Weier O'Phinney-3 wrote:
* If you do not
Hi there,
I wrote an application in ZF1.7 with a modular structure that made
extensive use of the db_table magic methods. To illustrate, here's
part of the structure of my app:
- application
- modules
- default
- models
thx alayn :)
--
View this message in context:
http://www.nabble.com/I-have-an-eror%3A-Select-query-cannot-join-with-another-table-tp25488217p25489419.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Sorry for bad English. Where i can download ZendX_JQuery? I see manual in
http://framework.zend.com/manual/en/zendx.jquery.html but can't find source.
--
View this message in context:
http://www.nabble.com/Where-i--can-download-ZendX--tp25489878p25489878.html
Sent from the Zend Framework
Hi,
you have to download full archive for last ZF version.
You can find ZendX under extras/library folder.
Denis
woto a e'crit :
Sorry for bad English. Where i can download ZendX_JQuery? I see manual in
http://framework.zend.com/manual/en/zendx.jquery.html but can't find source.
Right, sorry for inattention, i expected to find it in library folder.
Denis Fohl wrote:
Hi,
you have to download full archive for last ZF version.
You can find ZendX under extras/library folder.
Denis
woto a e'crit :
Sorry for bad English. Where i can download ZendX_JQuery? I see
I have in database two tables:
books:
- id PK
- title
authors:
- id PK
- author
- id_book FK
1 book can have many authors. I want to learn ZF so database doesn't matter
(I know it should be that also 1 author can have many books and it shouldn't
be column 'author' but column 'name' and
Just a reminder to list members that the Bug Hunt is starting today ;). If you
don't have a lot of time I suggest adopting just 1-2 issues to help solve -
every little bit helps! See details below from Matthew's original email.
Pádraic Brady
http://blog.astrumfutura.com
ZF does't support such a feature yet. But you can achieve the same result by
building the right SQL query your self.
I think your getBooksAuthors should look like this:
public function getBooksAuthors()
{
$select = $this-select()
-setIntegrityCheck(false)
I use 1024mb
::: Diego Potapczuk
»» NEAD - Núcleo de Educação a Distância
»» SENAI-BA
»» Tel: (71) 3287-8343 / (71) 9144-3062
»» http://www.diegoliveira.com.br
On Thu, Sep 17, 2009 at 7:00 AM, Carlton Gibson li...@noumenal.co.ukwrote:
Hi all,
I'm wondering if anyone is building the API
hm... it doesn't work for me:
Specified column author is not in the row
--
View this message in context:
http://www.nabble.com/HYDRATION-like-in-Doctrine-ORM-in-Symfony-Framework-tp25490065p25490884.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Sorry for bad English. According to
http://ru.php.net/manual/en/info.configuration.php we can't set all php
settings (not talking about PHP 6), maybe better would to avoid user from
trying to set some php settings during runtime? for example
Application.php
public function
On 17 Sep 2009, at 13:57, Diego Potapczuk wrote:
I use 1024mb
Brilliant. Thanks.
::: Diego Potapczuk
»» NEAD - Núcleo de Educação a Distância
»» SENAI-BA
»» Tel: (71) 3287-8343 / (71) 9144-3062
»» http://www.diegoliveira.com.br
On Thu, Sep 17, 2009 at 7:00 AM, Carlton Gibson
Try with Zend_Db::fetchAll(). Your method then, should look like this :
public function getBooksAuthors()
{
$select = $this-select()
-setIntegrityCheck(false)
-from(array('b' = 'books'), array('id'))
-join(array('a' = 'authors'), 'b.id = a.id_book', array('authors'=new
Zend_Db_Expr('GROUP_CONCAT(author)') - this is strange for me, I don't
understand that so I don't want to use it - I MUST know and understand all
code (I know that in ZF it isn't possible).
getAdapter() - I also don't know that method.
And I don't know how I can use it to show rows in that way
url($urlOptions, $name, $reset) - what is $name ? I understand $urlOptions
and $reset. I don't understand $name.
--
View this message in context:
http://www.nabble.com/url%28%24urlOptions%2C-%24name%2C-%24reset%29---what-is-%24name---tp25491945p25491945.html
Sent from the Zend Framework mailing
Name is a route name
http://framework.zend.com/manual/en/zend.controller.router.html
--
Juozas Kaziukėnas (juo...@juokaz.com)
Aš internete - JuoKaz (http://www.juokaz.com)
On Thu, Sep 17, 2009 at 5:13 PM, aoohralex aoohra...@gmail.com wrote:
url($urlOptions, $name, $reset) - what is $name ?
-- lightflowmark 1...@lightflowinterrupted.com wrote
(on Thursday, 17 September 2009, 03:35 AM -0700):
Excellent news - it will be great to have some way of getting patches
integrated into trunk.
Is there some other way of asking for patches to be reviews [at any time
during the month], or
-- Carlton Gibson li...@noumenal.co.uk wrote
(on Thursday, 17 September 2009, 11:00 AM +0100):
I'm wondering if anyone is building the API docs locally and can give me
a rough indication of the amount of memory required? I keep getting
memory out errors after _some time_ :-)
I usually pass
-- aoohralex aoohra...@gmail.com wrote
(on Thursday, 17 September 2009, 08:13 AM -0700):
url($urlOptions, $name, $reset) - what is $name ? I understand $urlOptions
and $reset. I don't understand $name.
$name is the name of a route you have attached to the router. If you use
null, it will
Kyle Spraggs-3 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 Calendar
I ran into a situation this weekend where I needed a calendar for
SpiffyCalendar is a calendar generator for the Zend Framework based on
Zend_Date and Zend_Locale. It utilizes a Zend View renderer by default but
adding custom renderers is available. It also supports events using a
variety of event sources and ships with array and zend_db_table capability.
I
Well I am so much surprised, why people are behaving like 3rd party, not at
all concerned about this and work as team which is the motto of Open Source
technology. I am very much upset with the tone of the people.
Yes, I do agree there are requirement of some real world tutorial and more
Hello,
maybe someone in the list can help me before i'm going nuts.
I need to deliver files through my app.
For this reason i have build a FileController with a DownloadAction to
load the file, set all required headers and send the file.
This works in all browsers except IE 6 (and probably
On 17 Sep 2009, at 17:06, Matthew Weier O'Phinney wrote:
-- Carlton Gibson li...@noumenal.co.uk wrote
(on Thursday, 17 September 2009, 11:00 AM +0100):
I'm wondering if anyone is building the API docs locally and can
give me
a rough indication of the amount of memory required? I keep
Actually it's even simpler than that.
Assuming you're using Zend_Application along with the application.ini you
provided all you need to do in your controllers is
// Get the database adapter
$bootstrap = $this-getInvokeArg('bootstrap');
$db = $bootstrap-getResource('db');
You don't need the
I am generating multipart emails in the following fashion (simplified for
purpose of explanation):
$transport = new Zend_Mail_Transport_Smtp('localhost');
Zend_Mail::setDefaultTransport($transport);
$mail = new Zend_Mail();
$mail-setFrom($email, $name);
I have verified that that 'bug' was precisely why UebiMiau could not display
the message properly.
I modified Zend/Mail/Transport/Abstract.php to change lines 142 through 146
from this:
$this-_headers['Content-Type'] = array(
$type . '; charset=' .
I use the LDAP authentication adapter to authenticate against Active
Directory on a number of sites. Since upgrading to 1.9.2 the
authentication fails with FAILURE_CREDENTIAL_INVALID for everyone. I
compared Zend_Auth_Adapter_Ldap between 1.8.0 and 1.9.2, but I can't
see what is causing the
As implied by the subject, why do you config the base directory here for most
things (specifically controllers) but can't for pages? Where can you change
the path to pages?
--
View this message in context:
-- Artsemis artse...@gmail.com wrote
(on Thursday, 17 September 2009, 01:28 PM -0700):
As implied by the subject, why do you config the base directory here for most
things (specifically controllers) but can't for pages? Where can you change
the path to pages?
What do you mean by pages? Since
Hi Jens
A well known issue with IE6 and HTTPS, you need to tell the browser that
is allowed to cache the file. Otherwise is downloads the file but
doesn't save it to disk because it has been told not to cache it.
In the downloadAction
$this-getResponse()-setHeader('Content-Type',
Matthew Weier O'Phinney-3 wrote:
-- Artsemis artse...@gmail.com wrote
(on Thursday, 17 September 2009, 01:28 PM -0700):
As implied by the subject, why do you config the base directory here for
most
things (specifically controllers) but can't for pages? Where can you
change
the path to
I was working through the quickstart and got to the part where I had to
create a controller -- which gave an error about finding the project file. I
did a quick Google and this was a problem with 1.9.0 that many people seemed
to have experienced on Windows.
I went ahead and re-downloaded ZF and
Artsemis wrote:
I was working through the quickstart and got to the part where I had to
create a controller -- which gave an error about finding the project file.
I did a quick Google and this was a problem with 1.9.0 that many people
seemed to have experienced on Windows.
I went ahead
43 matches
Mail list logo