Hi,
I am trying to do a multiple edit on a database table.
Whn I output like this:
[code]
getStatusObject($key)->getStatusname() ?>
[/code]
I get this error:
[code]
Fatal error: Call to a member function getStatusname() on a non-
object
[/code]
When I comment the above out the rest of the field
Apologies for replying to my own post, but does anybody have any idea
on this one? I have no idea why I am getting this error.
Thanks in advance.
On Jul 22, 7:43 pm, -gary- wrote:
> Hi,
>
> I am trying to do a multiple edit on a database table.
>
> Whn I output lik
In the template? This is a function call though.
On Jul 23, 11:22 am, Dirk Hartmann wrote:
> getStatusObject[$key]->... Not Round brackets...
>
> Dirk Hartmann
> Schenckstr. 10
> 57074 Siegen
> m
>
> Am 23.07.2009 um 17:12 schrieb -gary- :
>
>
>
> >
In the template? This is a function call though.
On Jul 23, 11:22 am, Dirk Hartmann wrote:
> getStatusObject[$key]->... Not Round brackets...
>
> Dirk Hartmann
> Schenckstr. 10
> 57074 Siegen
> m
>
> Am 23.07.2009 um 17:12 schrieb -gary- :
>
>
>
> >
Yes, my:
public function getStatusObject($key)
{
return (isset($this->status_objects[$key])) ? $this-
>status_objects [$key] : null;
}
is not returning an object and that why I'm having problems in the
template.
Anyone have any idea on this please?
I'd appreciate any help at all.
Tha
bjects
> in a numeric indexed array.
>
> Therefore make sure that the key that is passed or the actual creation of
> $this->status_objects (possibly using a var_dump($this->status_objects) call
> on it) was successful. It might get you one step closer to troubleshooting
>
On Jul 24, 5:11 am, -gary- wrote:
> Thank you for the reply Gareth.
>
> I am using Propel.
> When I:
> foreach( StatusPeer::doSelect(new Criteria()) as $status_object )
> is that incorrect?
>
> I var_dubped all over the placec and everything seems to have what is
>
If I, in the template:
I get the whole form and fields. I just need to get these row by row.
Is this possible?
On Jul 24, 8:35 am, -gary- wrote:
> Also, I tried:
>
> $this->status_objects = StatusPeer::doSelect(new Criteria());
>
> and var_dump'd and got the fo
If I, in the template:
I get the whole form and fields. I just need to get these row by row.
Is this possible?
On Jul 24, 8:35 am, -gary- wrote:
> Also, I tried:
>
> $this->status_objects = StatusPeer::doSelect(new Criteria());
>
> and var_dump'd and got the fo
If I, in the template:
I get the whole form and fields. I just need to get these row by row.
Is this possible?
On Jul 24, 8:35 am, -gary- wrote:
> Also, I tried:
>
> $this->status_objects = StatusPeer::doSelect(new Criteria());
>
> and var_dump'd and got the fo
t;
> echo $form['field_name'];
>
>
> ;)
>
> - Original Message -
> From: "-gary-"
> To: "symfony users"
> Sent: Friday, July 24, 2009 5:02:45 PM GMT +02:00 Harare / Pretoria
> Subject: [symfony-users] Re: Embedding forms / Objects
>
> If I, in th
t;
> echo $form['field_name'];
>
>
> ;)
>
> - Original Message -
> From: "-gary-"
> To: "symfony users"
> Sent: Friday, July 24, 2009 5:02:45 PM GMT +02:00 Harare / Pretoria
> Subject: [symfony-users] Re: Embedding forms / Objects
>
> If I, in th
t;
> echo $form['field_name'];
>
>
> ;)
>
> - Original Message -
> From: "-gary-"
> To: "symfony users"
> Sent: Friday, July 24, 2009 5:02:45 PM GMT +02:00 Harare / Pretoria
> Subject: [symfony-users] Re: Embedding forms / Objects
>
> If I, in th
t;
> echo $form['field_name'];
>
>
> ;)
>
> - Original Message -
> From: "-gary-"
> To: "symfony users"
> Sent: Friday, July 24, 2009 5:02:45 PM GMT +02:00 Harare / Pretoria
> Subject: [symfony-users] Re: Embedding forms / Objects
>
> If I, in th
t;
> echo $form['field_name'];
>
>
> ;)
>
> - Original Message -
> From: "-gary-"
> To: "symfony users"
> Sent: Friday, July 24, 2009 5:02:45 PM GMT +02:00 Harare / Pretoria
> Subject: [symfony-users] Re: Embedding forms / Objects
>
> If I, in th
t;
> echo $form['field_name'];
>
>
> ;)
>
> - Original Message -
> From: "-gary-"
> To: "symfony users"
> Sent: Friday, July 24, 2009 5:02:45 PM GMT +02:00 Harare / Pretoria
> Subject: [symfony-users] Re: Embedding forms / Objects
>
> If I, in th
I'm having a problem with my fixture data. This is a part of data/
fixtures/status.yml
pltStatus:
pltStatus_ina:
id: ina
name: Inactivo
description: El registro ha sido desactivado por alguien que tiene
las credenciales para hacerlo
pltStatus_pen:
id: pen
name: Pendiente:
usado
para definir las ordenes de compra.
#
The first three records are quoted but it behaves like quotes no
exists because the text is trunked how i say before.
Thanks in advance
On 22 abr, 13:02, Andrei Dziahel wrote:
> hi.
>
> You can also try to enclose descrip
all text don't be inserted.
Thanks.
On 23 abr, 06:45, Eno wrote:
> On Wed, 22 Apr 2009, Gary Rojas wrote:
> > The first three records are quoted but it behaves like quotes no
> > exists because the text is trunked how i say before.
>
> Is it possible that PHP or yo
I was reviewing how sfDoctrineGuardPlugin control the sign in and i
found that this plugin doesn't make any validation about the status of
the user (i think this should be with the is_active field). I realized
about this because i have a user with is_active = 0 and this user can
sign in without an
ss PluginsfGuardUserTable extends Doctrine_Table
> {
> public static function retrieveByUsername($username, $isActive =
> true)
> {
> return Doctrine_Query::create()
> ->from('sfGuardUser u')
> ->where('u.username = ?'
I'm working with Symfony 1.2 and Doctrine 1.0 and I'm getting errors
with the generated forms
Here is part of my schema.yml
##
pltProjectModule:
tableName: plt_project_module
columns:
project_id:
type: integer(4)
prim
Hi everybody, I have troubles, i need to get loaded all the model
classes on the ProjectConfiguration class.
I hope someone knows how to do this.
Thanks so much
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"sy
I use Symfony 1.2 and Doctrine 1.0
Sorry for this
On 18 jun, 14:22, Gary Rojas wrote:
> Hi everybody, I have troubles, i need to get loaded all the model
> classes on the ProjectConfiguration class.
>
> I hope someone knows how to do this.
>
&
Hello,
I am new to symfony and have taken over a website that ran on windows 2003
that used symfony and was configured using IIS.
I have a website installed on my XP OS machine. not windows 2003. Can symfony
in conjunction with IIS on an XP machine work together? without apache etc.
The proble
orSchema->setPostValidator(new sfGuardValidatorUser());
by:
$this->validatorSchema->setPostValidator(new sfGuardUserByEmailValidator ());
Regards,
Gary Rojas
2009/5/5 justin_davis :
>
> Hey all,
>
> I'm using Symfony 1.2 and Doctrine, with the sfDoctrineGuard plugin.
> I
26 matches
Mail list logo