Hi Robin, depending on what your fields are exactly, you may use doctrine
templates, that is things you include in your schema through the "actAs"
statement:
TableA:
actAs: [ column3 ]
columns:
Column 1:
Column 2:
Column 4:
TableB:
actAs: [ column3 ]
columns:
Column 5:
$request = sfContext::getInstance()->getRequest();
On Wed, Feb 18, 2009 at 6:41 PM, ckemmler wrote:
>
> Nope. That, unfortunately doesn't work. I'm told the forms framework
> is a recent addition, and it doesn't behave as the other parts of the
> Symfony...
>
> On Feb 18, 6:12 pm, Martino Piccin
try this:
if (in_array(2, $arr->getRawValue()))
On Fri, Dec 12, 2008 at 5:31 PM, Matias wrote:
>
> It work!!. But now I have another problem:
> If I declare a variable in an action, for example :
>
> $this->arr = array(1,2,3,4);
>
> then in the template i used to do
>
> if(in_array(2, $arr))
>
Hi, you can pass ESC_RAW as the last argument of your getter, eg:
echo $object->getContent(ESC_RAW);
On Fri, Dec 12, 2008 at 4:22 PM, Matias wrote:
>
> I just found one solution, set escaping_strategy to 'off' in the
> settings.yml.
>
> escaping_strategy: 'off'
>
> On 12 dic, 12:03, Matia
something like:
$applications =
sfFinder::type('dir')->maxdepth(0)->relative()->in(sfConfig::get('sf_apps_dir'));
could do the trick
On Tue, Nov 18, 2008 at 3:21 PM, sepp <[EMAIL PROTECTED]> wrote:
>
> Hi @all.
>
> I'm writing some Symfony tasks and I'm wondering how I can get the
> names of al
http://trac.symfony-project.org/wiki/InstallingMultipleVersionsOfSymfonyanyone ?
On Wed, Nov 5, 2008 at 3:19 AM, James <[EMAIL PROTECTED]> wrote:
> http://groups.google.com/group/symfony-users/msg/3fedd9a4e5477cf0?pli=1
>
>
> On Nov 4, 2008, at 8:23 PM, Reynier Perez Mira wrote:
>
>
> yes you can
Hi, the ~ in yaml means null, that means that your field has no value, and
in your case, inherits the default values for fields detected as a primary
key (which is the case for fields named "id")
fields created_at and updated_at are detected as timestamp, and therefor
inherits the default values f