Have you looked at Set::extract?

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 9 Nov 2011, at 10:59, Ernesto wrote:

> Hi all
> 
> i have an array containing a series of set compatible paths
> 
> array(
>      [0] => "Article.code",
>      [1] => "{n}.Piece.code",
>      [2] => "Note.{n}.text"
> )
> 
> is there any built-in function that extracts the Model and the field those 
> paths are referencing?
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>  
>  
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to