Hi,
I have a project at the moment in which I need someone to jump in right
away, the project is a symfony based, I have already finished more than 30%
of the application and I need a developer with sense of ownership and
dedication to jump in. It will require a lot of communication and if things
gt;add(AreaPeer::DISTRICTS_ID,
> $request->getParameter('search_input_districts'));
> $c->add(ResturantsPeer::IS_ACTIVE, TRUE);
> $this->objs = AreaPeer::doSelectJoinAll($c);
>
> this code will automatically add the neccesary joins, and take care of
> the hydration of
Hello,
am a little confused trying to build a join from 3 different tables. First
of all, I noticed in the debug toolbar it was hitting the table 20 times
which is the number of records i have although i made a join.
this is my action code
$c = new Criteria();
It might be a little complicated, first you need to do a regular static form
just so you can understand the methods you need to use. As for the table
structure you are proposing, it is too simple to be used, you must also have
information about field types, sfValidations..etc
idfield_names
I tried similar practice to this, but in my case I wanted to initiate a
class using a variable
$className = 'MyClass';
$Init = new $className();
which worked for me, so I believe it also should work for you as well.
Thanks,
On Sun, Jul 26, 2009 at 12:16 AM, adrianrz wrote:
>
> Hello,
>
> I n
the public_path('uploads/file.jpg');
On Thu, Jul 23, 2009 at 7:52 PM, Eno wrote:
>
> On Thu, 23 Jul 2009, Mo Mughrabi wrote:
>
> >I was trying to generate an absolute URL inside my form classes using
> > sfContext::getInstance()->getController()->genUrl
Hello everyone,
I was trying to generate an absolute URL inside my form classes using
sfContext::getInstance()->getController()->genUrl(); but apparently genUrl
only can be used when supplied a route or module/action but i cannot get it
to return the absolute path of my uploads folder. Any idea
Am not 100% sure of your need here, but as far as what i understood. You
could use that inside your ArticleForm class.
class ArticleForm extends className {
// at the end add this,
if($this->isNew()) {
$this->form->setWidget('status',new
sfWidgetFormInputHidden(array(),array('value'=>'pend
Hi all,
I have two tables which contain data and one table is a relationship between
the two tables for example
table1
id:
name: longvarchar
created_at:
table2
id:
name: longvarchar
created_at:
rel_table:
table1_id:
table2_id:
my question is how do i embed rel_table when i p