cake-php
[Arriba] [Todas las Listas]

Re: Validación "de cambio puesta" dentro de modelo?

To: cake-php@xxxxxxxxxxxxxxxx
Subject: Re: Validación "de cambio puesta" dentro de modelo?
From: lowpass <zijn.digital@xxxxxxxxx>
Date: Thu, 13 Jun 2013 21:07:54 -0400
Delivery-date: Thu, 13 Jun 2013 21:08:05 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-beenthere:mime-version:in-reply-to:references:date:message-id :subject:from:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-google-group-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=IEdKQRVsn06XTDVPiRxTL5PjqPpHsdAJHRzKqZPDhcI=; b=LAknNTrWsLu0o4sC5FegiwlpyEoRT1UITUISg56ntiDYMfvL8IlO/aM2TFbC1wkxGu MIu8YFY9U5fB9VooLMVle4d/3y6qelnGnF6yZkWdqpWeuNilr94CVfreyHFLAGOcvr4K BfoK2kNzRHieTHZlNQROeCKTwInstnuKk/CnBRuYfX3zbklWDn6zw9PNs/oKgmoAE/Cg xctPqmPIjjzUf7at37p9Sz5hEm78vv5T2W+NmwxhVg7weLJq9hySGlftTNl/nIlAfx8J dQXiIKnAMYrVNlJgLOX+RwSEW9zUG7NuvZJ8uE/ukuOhu2dOjf9VlnpI4v539bYhlTgH UqvA==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-beenthere:mime-version:in-reply-to:references:date:message-id :subject:from:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-google-group-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=IEdKQRVsn06XTDVPiRxTL5PjqPpHsdAJHRzKqZPDhcI=; b=Jf6pwfqFGr7LLGNJLfclExVEyXs1sATQ5EehW9/beaRvZrRd7z6m/GQJfr8sdRFDsT bdsZtwJg4gB86wyHgNp0i6LdFPMB9gvWwhLy1E3uo0Gk2OfANGqEx6CNIx9+sALMwU0S 7acGzwTScrT8aa1B9i+15+3jKC5DfiFclIyjI/6akfxEmDzUZYL+zSJK14PvlJ+x2OOE D3hG+YAjq1gY96i7wn3D8JIwtu5xwx8DFtc4nFGBIl9urbXBhcN18PbV1duC/sijpgR9 WceG/1y9KaYkv9Mjuhjz1v06rxZ8pvHmTjBiIOXmOmDkorX5dkvDrXQjFW7I3J2noM0+ /HvQ==
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <c64fc82a-fd1b-4c03-91bb-381d4d90bfa2@googlegroups.com>
List-archive: <http://groups.google.com/group/cake-php>
List-help: <http://groups.google.com/support/>, <mailto:cake-php+help@googlegroups.com>
List-id: <cake-php.googlegroups.com>
List-post: <http://groups.google.com/group/cake-php/post>, <mailto:cake-php@googlegroups.com>
List-subscribe: <http://groups.google.com/group/cake-php/subscribe>, <mailto:cake-php+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/cake-php/subscribe>, <mailto:googlegroups-manage+1003367825667+unsubscribe@googlegroups.com>
Mailing-list: list cake-php@xxxxxxxxxxxxxxxx; contact cake-php+owners@xxxxxxxxxxxxxxxx
References: <c64fc82a-fd1b-4c03-91bb-381d4d90bfa2@googlegroups.com>
Reply-to: cake-php@xxxxxxxxxxxxxxxx
Sender: cake-php@xxxxxxxxxxxxxxxx
Yo  no aviso cualquier cosa específico a versión 2 en aquel código. Tiene lo
probaste? O probado a *upgrade lo?


En *Thu, *Jun 13, 2013 en 2:55 AM, *LDSign <frank@xxxxxxxxxx> escribió:

> *Hi
>
> yo  *liket para cambiar un conjunto "de validación completo" para un modelo (en
> el controlador). Los Niveles más profundos de la aplicación requiere más y más dato
> de usuario, así que tuve la idea de definir conjuntos de validación múltiple dentro de los
> modelos para cada nivel.
>
> La Solución mejor será un cambio automático para una acción especificada.
>
> *Ive Ya buscado un *litte y fundar esto:
>
> *http://*php.*dzone.*com/Noticia/*cakephp-12-múltiple-validación
>
> *Unfortunatley esto es para Pastel 1.2 -  cualquiera tiene una solución laborable
> para 2.3.6?
>
> O es allí una aproximación mejor de hacer esto?
>
> *Thanks,
> Frank
>
> --
> Gustarnos en *FaceBook *https://www.facebook.com/*CakePHP
> nos Encuentra en *Twitter *http://*twitter.*com/*CakePHP
>
> ---
> Recibiste este mensaje porque eres *subscribed al *Google Grupos
> "*CakePHP" grupo.
> A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un
> *email a pastel-*php+unsubscribe@xxxxxxxxxxxxxxxx.
> A correo a este grupo, envía *email a pastel-php@xxxxxxxxxxxxxxxx.
> Visita este grupo en *http://grupos.*google.*com/Pastel/de grupo-*php?*hl=*en.
> Para más opciones, visita *https://grupos.*google.*com/Los Grupos/optan_fuera.
>
>
>

-- 
Gustarnos en *FaceBook *https://www.facebook.com/*CakePHP
nos Encuentra en *Twitter *http://*twitter.*com/*CakePHP

--- 
Recibiste este mensaje porque eres *subscribed al *Google Grupos "*CakePHP" grupo.
A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un *email a pastel-*php+unsubscribe@xxxxxxxxxxxxxxxx.
A correo a este grupo, envía *email a pastel-php@xxxxxxxxxxxxxxxx.
Visita este grupo en *http://grupos.*google.*com/Pastel/de grupo-*php.
Para más opciones, visita *https://grupos.*google.*com/Los Grupos/optan_fuera.


I didn't notice anything specific to version 2 in that code. Have you tried
it? Or tried to upgrade it?


On Thu, Jun 13, 2013 at 2:55 AM, LDSign <frank@xxxxxxxxxx> wrote:

> Hi
>
> I would liket to switch a complete "validation set" for a model (in the
> controller). Deeper levels of the application requires more and more user
> data, so I had the idea to define multiple validation sets within the
> models for each level.
>
> Best solution will be an automatic switch for a specified action.
>
> Ive already searched a litte and found this:
>
> http://php.dzone.com/news/cakephp-12-multiple-validation
>
> Unfortunatley this is for Cake 1.2 - does anyone have a working solution
> for 2.3.6?
>
> Or is there a better approach of doing this?
>
> Thanks,
> Frank
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscribe@xxxxxxxxxxxxxxxx.
> To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


<Anterior por Tema] Tema Actual [Siguiente por Tema>