I'll try :)
input - arrayA, arrayB
while arrayA has values
{
take value of arrayA one by one
while arrayB has values
{
add combination of value from arrayA and arrayB into the result as
array
}
}
return result
.. if combinations are only the pairs of numbers (I hope so :) , I
don
Hi,
I've done something like this, but with an AJAX approach. The user can
select the language he wants to edit and the form adjusts to the selected
language. Then I only have to validate that at least one language does exist
and adjust the __toString() methods of translated objects to provide
lan
Of course there is - over the sfContext, but It's not a great
solution.
http://eatmymonkeydust.com/2009/08/symfony-forms-flexible-widgets-based-on-user-credentials/
http://webmozarts.com/2009/07/01/why-sfcontextgetinstance-is-bad/
On 6 čvn, 16:14, Alvaro Garcia wrote:
> Hello!
>
> In my doctrin
Thanks! :) *grins*
You're absolutely right, I think that pass-by-reference operator (&) scared me
a bit there. ;-)
Daniel
On 08.06.2010, at 09:10, Tom Ptacnik wrote:
> I'll try :)
>
> input - arrayA, arrayB
>
>
> while arrayA has values
> {
> take value of arrayA one by one
>
> while ar
How is it giving you the id?
On 7 čvn, 13:20, safa boubekri wrote:
> hello
>
> i make this code in my action
>
> $this->test = Doctrine_Query::create()
> ->select('titre')
> ->from('Cotisation')->execute();
>
> it's give me the Id but not 'titre'
>
> thank you
--
If you want to
hello
it returns me
3 4
the ID of Cotisation
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to
hello
have empty object how can i call object from indexSuccess.php ??
in CotsationTable.class
public function getTotals(Doctrine_Query $q = null)
{
$q=Doctrine_Query::create()
-> SELECT('SUM(montant)')
->from('Cotisation');
$montant = $q->fetchOne();
return $montant;}
in
On Mon, 7 Jun 2010, safa boubekri wrote:
> i make this code in my action
>
> $this->test = Doctrine_Query::create()
>->select('titre')
>->from('Cotisation')->execute();
>
> it's give me the Id but not 'titre'
Sounds like you keep asking the same question over and over again. Do y
On Mon, 7 Jun 2010, Javier Garcia wrote:
> When I say "minimum" I'm thinking in price :).
Most of your problems stem from the fact that your hosting provider
doesn't allow certain config directives needed for symfony. So just find a
provider that does. I use cheap virtual servers but they do re
hello all,
I am trying to render content from the database that was stored using
tiny_mice and sfFormExtraPlugin
in the controller
$this->articles = Doctrine::getTable('Articles')-
>getNewsItems($request->getParameter('id'));
in the template, i try this after looping in a foreach
getRaw('conte
i mean unescape selected content
On Jun 8, 3:23 pm, el-sid wrote:
> hello all,
>
> I am trying to render content from the database that was stored using
> tiny_mice and sfFormExtraPlugin
>
> in the controller
>
> $this->articles = Doctrine::getTable('Articles')-
>
> >getNewsItems($request->getPar
thank you for the link but the version of symfony wich i use is 1.3
i want to khow if this method it's correct for 1.3
public function getTotal()
{
$total = 0;
foreach ($this->getMontant() as $item)
{
$total += $item->getMontant() ;
}
return $total;
}
i put it nth cotasationTa
How do you want to show the error next to the hidden field? All hidden
fields are on the beginning of the form, aren't they?
On 7 čvn, 16:35, Asier wrote:
> Hi there,
>
> I have a form with an embedded form, wich can have N embedded forms:
>
> parentForm:
> wrapperForm:
> form_1
> form
Hi,
thank you for your response.
I've managed this today as I sad in my first report (one translation
on the form via mergeForm, selected language is set in the session),
but I would realy like to see your solution.
Regards, Tom
On 8 čvn, 09:17, "Christopher Schnell" wrote:
> Hi,
>
> I've do
hello
i coded this line and I did not find why its not working
///create form
setWidgets(array
('nom' => new sfWidgetFormChoice(array
('choices' => array(),
'renderer_class'
=>'sfWidgetFormJQueryAutocompleter',
'render
In the template
getAtributte(ESC_RAW) ?>
On 8 čvn, 14:26, el-sid wrote:
> i mean unescape selected content
>
> On Jun 8, 3:23 pm, el-sid wrote:
>
>
>
> > hello all,
>
> > I am trying to render content from the database that was stored using
> > tiny_mice and sfFormExtraPlugin
>
> > in the con
On Tue, 8 Jun 2010, safa boubekri wrote:
> thank you for the link but the version of symfony wich i use is 1.3
No difference between 1.3 and 1.4, as you can see here:
http://www.symfony-project.org/gentle-introduction/1_3/en/08-Inside-the-Model-Layer-Doctrine
--
--
If you want to repor
Ehhh, ok, how can I be so stupid... ejem. ^_^U
Anyway, how would it be if the field is a text input field??
Now that I notice, even if those fields are hidden, if I set an error on one
of then, shouldn't they be rendered by the embedded form template if I put:
$form->renderError() ?? I mean, all t
he guys,
i have a propelRouteCollection:
foo:
class: sfPropel15RouteCollection
options:
model: Foo
module: foo
prefix_path: /:sf_culture/foo
column: id
with_wildcard_routes: true
now i want to be able to define somethin
i assume you mean:
getContent(ESC_RAW) ?>
i also tried getContent(ESC_RAW) ?>
didnt work either. View source still produces un escaped content but
cannot be seen in the template
On Jun 8, 5:06 pm, Tom Ptacnik wrote:
> In the template
>
> getAtributte(ESC_RAW) ?>
>
> On 8 čvn, 14:26, el-sid wr
Hi,
you like to see it codewise or in action?
Regards,
Christopher.
-Ursprüngliche Nachricht-
Von: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Im
Auftrag von Tom Ptacnik
Gesendet: Dienstag, 8. Juni 2010 16:03
An: symfony users
Betreff: [symfony-users] Re: Man
21 matches
Mail list logo