Mensagem sobre o tópico
Cake - Insert ao invez de update
Received: by 10.90.49.3 with SMTP id w3mr3663828agw.28.1222175123050;
Tue, 23 Sep 2008 06:05:23 -0700 (PDT)
Return-Path: <joao.vag...@gmail.com>
Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.158])
by mx.google.com with ESMTP id 22si10529284yxr.1.2008.09.23.06.05.21;
Tue, 23 Sep 2008 06:05:23 -0700 (PDT)
Received-SPF: pass (google.com: domain of joao.vag...@gmail.com designates 74.125.46.158 as permitted sender) client-ip=74.125.46.158;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of joao.vag...@gmail.com designates 74.125.46.158 as permitted sender) smtp.mail=joao.vag...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by yw-out-1718.google.com with SMTP id 6so312469ywa.78
for <arqhp@googlegroups.com>; Tue, 23 Sep 2008 06:05:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:received:received:message-id:from:to:subject
:date:mime-version:content-type:x-priority:x-msmail-priority
:importance:x-mailer:x-mimeole;
bh=vpS/esP+zk7XjJ4q9Kh/+35ZEy+ek+DALp6kZAIxEus=;
b=lmJdt9JGaf1Y107Ic6nL8Sde1bCINL/4VFA79u4k/5Xkj1Hv8EG69iHHp6bGF2tMif
VfaXAz0McvPMEiVK6Tjq+zbefiubOE3CWs8UcIN+pv4R6mWzQWxJF3+lTqjNJuiQpgxb
dvGuBHe+05anIpdVZR7aNPsHcNV9OVWw3LalE=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=message-id:from:to:subject:date:mime-version:content-type
:x-priority:x-msmail-priority:importance:x-mailer:x-mimeole;
b=ONKj9Mz9D28/rKj0c+qCSEP1wz41oNciYbP9wrpGrinlH3f+o4krDguWRShLOA15wY
x1hpgQsJdCpnrJkcAUzX6/lTTlfH33/s54jiI81CQ+Cmwpfl5zicl/dqnexYzA04pWYR
SMBcUHspYBvq5fY1ptXK+O1yhCn0pXzC5ecCY=
Received: by 10.100.112.6 with SMTP id k6mr4262866anc.71.1222175121228;
Tue, 23 Sep 2008 06:05:21 -0700 (PDT)
Return-Path: <joao.vag...@gmail.com>
Received: from NoteJoao ([189.116.5.45])
by mx.google.com with ESMTPS id b18sm2543654ana.5.2008.09.23.06.05.15
(version=TLSv1/SSLv3 cipher=RC4-MD5);
Tue, 23 Sep 2008 06:05:20 -0700 (PDT)
Message-ID: <92DEFC36193D4C099D7E36800545F80C@NoteJoao>
From: =?iso-8859-1?Q?Jo=E3o_Vagner?= <joao.vag...@gmail.com>
To: <arqhp@googlegroups.com>
Subject: Cake - Insert ao invez de update
Date: Tue, 23 Sep 2008 10:05:11 -0300
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0128_01C91D63.DD9D2140"
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Mailer: Microsoft Windows Live Mail 12.0.1606
X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606
Esta é uma mensagem em várias partes no formato MIME.
------=_NextPart_000_0128_01C91D63.DD9D2140
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Pessoal,=20
Estou fazendo uma galeria com o cake, e o que me ocorre =E9 o seguinte, =
quando vou editar uma galeria, ao clicar em update, ele me faz um insert =
ao invez do update, olhem o action dentro do controller =
galleries_controller.php
function admin_edit($id =3D null) {
$this->layout=3D'admin';
if (!$id && empty($this->data)) {
$this->Session->setFlash(__('Invalid Gallery', true));
$this->redirect(array('action'=3D>'index'));
}
if (!empty($this->data)) {
if ($this->Gallery->save($this->data)) {
$this->Session->setFlash(__('The Gallery has been saved', true));
$this->redirect(array('action'=3D>'index'));
} else {
$this->Session->setFlash(__('The Gallery could not be saved. Please, try =
again.', true));
}
}
if (empty($this->data)) {
$this->data =3D $this->Gallery->read(null, $id);
}
$categories =3D =
$this->Gallery->Category->find('list',array('fields'=3D>array('Category.i=
d', 'Category.titulo'), 'value'=3D>'Category.id'));
$packages =3D $this->Package->find('list', =
array('fields'=3D>array('Package.id', 'Package.titulo'), =
'value'=3D>'Package.id'));
$this->set(compact('categories', 'packages'));
}
Abaixo o Model para ver se algo esta errado com ele, pois verifiquei e =
n=E3o encontrei o motivo:
<?php
class Gallery extends AppModel {
var $name =3D 'Gallery';
//The Associations below have been created with all possible keys, those =
that are not needed can be removed
var $belongsTo =3D array(
'User' =3D> array('className' =3D> 'User',
'foreignKey' =3D> 'user_id',
'conditions' =3D> '',
'fields' =3D> '',
'order' =3D> ''
)
);
var $hasAndBelongsToMany =3D array(
'Category' =3D> array('className' =3D> 'Category',
'joinTable' =3D> 'categories_galleries',
'foreignKey' =3D> 'gallery_id',
'associationForeignKey' =3D> 'category_id',
'unique' =3D> true,
'conditions' =3D> '',
'fields' =3D> '',
'order' =3D> '',
'limit' =3D> '',
'offset' =3D> '',
'finderQuery' =3D> '',
'deleteQuery' =3D> '',
'insertQuery' =3D> ''
),
'Package' =3D> array('className' =3D> 'Package',
'joinTable' =3D> 'galleries_packages',
'foreignKey' =3D> 'gallery_id',
'associationForeignKey' =3D> 'package_id',
'unique' =3D> true,
'conditions' =3D> '',
'fields' =3D> '',
'order' =3D> '',
'limit' =3D> '',
'offset' =3D> '',
'finderQuery' =3D> '',
'deleteQuery' =3D> '',
'insertQuery' =3D> ''
)
);
}
?>
Jo=E3o Vagner
j...@iw2.com.br
www.iw2servers.com.br
#IW=B2 blog [ http://iw2servers.com.br/blog ]
011 8923-9648
------=_NextPart_000_0128_01C91D63.DD9D2140
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3Diso-8859-1>
<META content=3D"MSHTML 6.00.6000.16711" name=3DGENERATOR></HEAD>
<BODY id=3DMailContainerBody=20
style=3D"PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px"=20
bgColor=3D#ffffff leftMargin=3D0 topMargin=3D0 CanvasTabStop=3D"true"=20
name=3D"Compose message area">
<DIV>
<DIV><FONT face=3DArial size=3D2>Pessoal, </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Estou fazendo uma galeria com o cake, e =
o que me=20
ocorre =E9 o seguinte, quando vou editar uma galeria, ao clicar em =
update, ele me=20
faz um insert ao invez do update, olhem o action dentro do controller=20
galleries_controller.php</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#0000ff =
size=3D2>function</FONT><FONT size=3D2>=20
admin_edit(</FONT><FONT color=3D#660000 size=3D2>$id</FONT><FONT =
size=3D2> =3D null)=20
{<BR></FONT><FONT color=3D#660000 size=3D2>$this</FONT><FONT=20
size=3D2>->layout=3D</FONT><FONT color=3D#008200 =
size=3D2>'admin'</FONT><FONT=20
size=3D2>;<BR></FONT><FONT color=3D#0000ff size=3D2>if</FONT><FONT =
size=3D2>=20
(!</FONT><FONT color=3D#660000 size=3D2>$id</FONT><FONT size=3D2> =
&&=20
</FONT><FONT color=3D#0000ff size=3D2>empty</FONT><FONT =
size=3D2>(</FONT><FONT=20
color=3D#660000 size=3D2>$this</FONT><FONT size=3D2>->data)) =
{<BR></FONT><FONT=20
color=3D#660000 size=3D2>$this</FONT><FONT=20
size=3D2>->Session->setFlash(__(</FONT><FONT color=3D#008200 =
size=3D2>'Invalid=20
Gallery'</FONT><FONT size=3D2>, </FONT><FONT color=3D#0000ff =
size=3D2>true</FONT><FONT=20
size=3D2>));<BR></FONT><FONT color=3D#660000 size=3D2>$this</FONT><FONT=20
size=3D2>->redirect(</FONT><FONT color=3D#0000ff =
size=3D2>array</FONT><FONT=20
size=3D2>(</FONT><FONT color=3D#008200 size=3D2>'action'</FONT><FONT=20
size=3D2>=3D></FONT><FONT color=3D#008200 =
size=3D2>'index'</FONT><FONT size=3D2>));</P>
<P align=3Dleft>}</P>
<P align=3Dleft></FONT><FONT color=3D#0000ff size=3D2>if</FONT><FONT =
size=3D2>=20
(!</FONT><FONT color=3D#0000ff size=3D2>empty</FONT><FONT =
size=3D2>(</FONT><FONT=20
color=3D#660000 size=3D2>$this</FONT><FONT size=3D2>->data)) =
{<BR></FONT><FONT=20
color=3D#0000ff size=3D2>if</FONT><FONT size=3D2> (</FONT><FONT =
color=3D#660000=20
size=3D2>$this</FONT><FONT size=3D2>->Gallery->save(</FONT><FONT =
color=3D#660000=20
size=3D2>$this</FONT><FONT size=3D2>->data)) {<BR></FONT><FONT =
color=3D#660000=20
size=3D2>$this</FONT><FONT =
size=3D2>->Session->setFlash(__(</FONT><FONT=20
color=3D#008200 size=3D2>'The Gallery has been saved'</FONT><FONT =
size=3D2>,=20
</FONT><FONT color=3D#0000ff size=3D2>true</FONT><FONT =
size=3D2>));<BR></FONT><FONT=20
color=3D#660000 size=3D2>$this</FONT><FONT =
size=3D2>->redirect(</FONT><FONT=20
color=3D#0000ff size=3D2>array</FONT><FONT size=3D2>(</FONT><FONT =
color=3D#008200=20
size=3D2>'action'</FONT><FONT size=3D2>=3D></FONT><FONT =
color=3D#008200=20
size=3D2>'index'</FONT><FONT size=3D2>));<BR>} </FONT><FONT =
color=3D#0000ff=20
size=3D2>else</FONT><FONT size=3D2> {<BR></FONT><FONT color=3D#660000=20
size=3D2>$this</FONT><FONT =
size=3D2>->Session->setFlash(__(</FONT><FONT=20
color=3D#008200 size=3D2>'The Gallery could not be saved. Please, try=20
again.'</FONT><FONT size=3D2>, </FONT><FONT color=3D#0000ff =
size=3D2>true</FONT><FONT=20
size=3D2>));<BR>}<BR><BR>}<BR><BR></FONT><FONT color=3D#0000ff =
size=3D2>if</FONT><FONT=20
size=3D2> (</FONT><FONT color=3D#0000ff size=3D2>empty</FONT><FONT=20
size=3D2>(</FONT><FONT color=3D#660000 size=3D2>$this</FONT><FONT =
size=3D2>->data))=20
{<BR></FONT><FONT color=3D#660000 size=3D2>$this</FONT><FONT =
size=3D2>->data =3D=20
</FONT><FONT color=3D#660000 size=3D2>$this</FONT><FONT=20
size=3D2>->Gallery->read(null, </FONT><FONT color=3D#660000=20
size=3D2>$id</FONT><FONT size=3D2>);<BR>}</P>
<P align=3Dleft></FONT><FONT color=3D#660000 =
size=3D2>$categories</FONT><FONT size=3D2>=20
=3D </FONT><FONT color=3D#660000 size=3D2>$this</FONT><FONT=20
size=3D2>->Gallery->Category->find(</FONT><FONT color=3D#008200 =
size=3D2>'list'</FONT><FONT size=3D2>,</FONT><FONT color=3D#0000ff=20
size=3D2>array</FONT><FONT size=3D2>(</FONT><FONT color=3D#008200=20
size=3D2>'fields'</FONT><FONT size=3D2>=3D></FONT><FONT =
color=3D#0000ff=20
size=3D2>array</FONT><FONT size=3D2>(</FONT><FONT color=3D#008200=20
size=3D2>'Category.id'</FONT><FONT size=3D2>, </FONT><FONT =
color=3D#008200=20
size=3D2>'Category.titulo'</FONT><FONT size=3D2>), </FONT><FONT =
color=3D#008200=20
size=3D2>'value'</FONT><FONT size=3D2>=3D></FONT><FONT =
color=3D#008200=20
size=3D2>'Category.id'</FONT><FONT size=3D2>));<BR></FONT><FONT =
color=3D#660000=20
size=3D2>$packages</FONT><FONT size=3D2> =3D </FONT><FONT =
color=3D#660000=20
size=3D2>$this</FONT><FONT size=3D2>->Package->find(</FONT><FONT =
color=3D#008200=20
size=3D2>'list'</FONT><FONT size=3D2>, </FONT><FONT color=3D#0000ff=20
size=3D2>array</FONT><FONT size=3D2>(</FONT><FONT color=3D#008200=20
size=3D2>'fields'</FONT><FONT size=3D2>=3D></FONT><FONT =
color=3D#0000ff=20
size=3D2>array</FONT><FONT size=3D2>(</FONT><FONT color=3D#008200=20
size=3D2>'Package.id'</FONT><FONT size=3D2>, </FONT><FONT =
color=3D#008200=20
size=3D2>'Package.titulo'</FONT><FONT size=3D2>), </FONT><FONT =
color=3D#008200=20
size=3D2>'value'</FONT><FONT size=3D2>=3D></FONT><FONT =
color=3D#008200=20
size=3D2>'Package.id'</FONT><FONT size=3D2>));<BR></FONT><FONT =
color=3D#660000=20
size=3D2>$this</FONT><FONT size=3D2>->set(compact(</FONT><FONT =
color=3D#008200=20
size=3D2>'categories'</FONT><FONT size=3D2>, </FONT><FONT =
color=3D#008200=20
size=3D2>'packages'</FONT><FONT size=3D2>));</P>
<P>}</P><FONT face=3DArial>
<P><BR>Abaixo o Model para ver se algo esta errado com ele, pois =
verifiquei e=20
n=E3o encontrei o motivo:</P></FONT><FONT color=3D#ff0000 size=3D2>
<P align=3Dleft><?php<BR></FONT><FONT color=3D#0000ff =
size=3D2>class</FONT><FONT=20
size=3D2> Gallery </FONT><FONT color=3D#0000ff =
size=3D2>extends</FONT><FONT size=3D2>=20
AppModel {<BR></FONT><FONT color=3D#0000ff size=3D2>var</FONT><FONT =
size=3D2>=20
</FONT><FONT color=3D#660000 size=3D2>$name</FONT><FONT size=3D2> =3D =
</FONT><FONT=20
color=3D#008200 size=3D2>'Gallery'</FONT><FONT size=3D2>;</P>
<P align=3Dleft></P>
<P align=3Dleft></FONT><FONT color=3D#808080 size=3D2>//The Associations =
below have=20
been created with all possible keys, those that are not needed can be=20
removed</P></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#0000ff size=3D2>var</FONT><FONT =
size=3D2>=20
</FONT><FONT color=3D#660000 size=3D2>$belongsTo</FONT><FONT size=3D2> =
=3D </FONT><FONT=20
color=3D#0000ff size=3D2>array</FONT><FONT size=3D2>(</P>
<P align=3Dleft></FONT><FONT color=3D#008200 size=3D2>'User'</FONT><FONT =
size=3D2> =3D>=20
</FONT><FONT color=3D#0000ff size=3D2>array</FONT><FONT =
size=3D2>(</FONT><FONT=20
color=3D#008200 size=3D2>'className'</FONT><FONT size=3D2> =3D> =
</FONT><FONT=20
color=3D#008200 size=3D2>'User'</FONT><FONT size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'foreignKey'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#008200 size=3D2>'user_id'</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'conditions'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#008200 size=3D2>''</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'fields'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#008200 size=3D2>''</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'order'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#008200 size=3D2>''</P></FONT><FONT =
size=3D2>
<P align=3Dleft>)</P>
<P align=3Dleft>);</P>
<P align=3Dleft></P>
<P align=3Dleft></FONT><FONT color=3D#0000ff size=3D2>var</FONT><FONT =
size=3D2>=20
</FONT><FONT color=3D#660000 size=3D2>$hasAndBelongsToMany</FONT><FONT =
size=3D2> =3D=20
</FONT><FONT color=3D#0000ff size=3D2>array</FONT><FONT size=3D2>(</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'Category'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#0000ff size=3D2>array</FONT><FONT =
size=3D2>(</FONT><FONT=20
color=3D#008200 size=3D2>'className'</FONT><FONT size=3D2> =3D> =
</FONT><FONT=20
color=3D#008200 size=3D2>'Category'</FONT><FONT size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'joinTable'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#008200 =
size=3D2>'categories_galleries'</FONT><FONT=20
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'foreignKey'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#008200 size=3D2>'gallery_id'</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200=20
size=3D2>'associationForeignKey'</FONT><FONT size=3D2> =3D> =
</FONT><FONT=20
color=3D#008200 size=3D2>'category_id'</FONT><FONT size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'unique'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#0000ff size=3D2>true</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'conditions'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#008200 size=3D2>''</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'fields'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#008200 size=3D2>''</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'order'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#008200 size=3D2>''</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'limit'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#008200 size=3D2>''</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'offset'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#008200 size=3D2>''</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'finderQuery'</FONT><FONT=20
size=3D2> =3D> </FONT><FONT color=3D#008200 size=3D2>''</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'deleteQuery'</FONT><FONT=20
size=3D2> =3D> </FONT><FONT color=3D#008200 size=3D2>''</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'insertQuery'</FONT><FONT=20
size=3D2> =3D> </FONT><FONT color=3D#008200 =
size=3D2>''</P></FONT><FONT size=3D2>
<P align=3Dleft>),</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'Package'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#0000ff size=3D2>array</FONT><FONT =
size=3D2>(</FONT><FONT=20
color=3D#008200 size=3D2>'className'</FONT><FONT size=3D2> =3D> =
</FONT><FONT=20
color=3D#008200 size=3D2>'Package'</FONT><FONT size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'joinTable'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#008200 =
size=3D2>'galleries_packages'</FONT><FONT=20
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'foreignKey'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#008200 size=3D2>'gallery_id'</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200=20
size=3D2>'associationForeignKey'</FONT><FONT size=3D2> =3D> =
</FONT><FONT=20
color=3D#008200 size=3D2>'package_id'</FONT><FONT size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'unique'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#0000ff size=3D2>true</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'conditions'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#008200 size=3D2>''</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'fields'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#008200 size=3D2>''</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'order'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#008200 size=3D2>''</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'limit'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#008200 size=3D2>''</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'offset'</FONT><FONT size=3D2>=20
=3D> </FONT><FONT color=3D#008200 size=3D2>''</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'finderQuery'</FONT><FONT=20
size=3D2> =3D> </FONT><FONT color=3D#008200 size=3D2>''</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'deleteQuery'</FONT><FONT=20
size=3D2> =3D> </FONT><FONT color=3D#008200 size=3D2>''</FONT><FONT =
size=3D2>,</P>
<P align=3Dleft></FONT><FONT color=3D#008200 =
size=3D2>'insertQuery'</FONT><FONT=20
size=3D2> =3D> </FONT><FONT color=3D#008200 =
size=3D2>''</P></FONT><FONT size=3D2>
<P align=3Dleft>)</P>
<P align=3Dleft>);</P>
<P align=3Dleft></P>
<P align=3Dleft>}</P></FONT><FONT color=3D#ff0000 size=3D2>
<P>?></P></FONT><FONT face=3DArial></FONT></FONT></DIV></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Jo=E3o Vagner<BR><A=20
href=3D"mailto:j...@iw2.com.br">j...@iw2.com.br</A><BR><A=20
href=3D"http://www.iw2servers.com.br">www.iw2servers.com.br</A><BR>#IW=B2=
blog [ <A=20
href=3D"http://iw2servers.com.br/blog">http://iw2servers.com.br/blog</A> =
]</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>011 =
8923-9648</FONT></DIV></BODY></HTML>
------=_NextPart_000_0128_01C91D63.DD9D2140--