[FX.php List] Get field names for a layout?

Dale Bengston dale.bengston at gmail.com
Tue Apr 9 16:21:18 MDT 2013


Whoops! Andrew did a better job of reading your post. Sorry for the pollution.
Dale

On Apr 9, 2013, at 4:54 PM, Dale Bengston <dale.bengston at gmail.com> wrote:

> Hi Ted,
> 
> Welcome to FX.php.
> 
> FX.php does not let you specify which fields to return; it gives you all the fields on a layout. It's great practice to develop specific layouts for specific purposes for use by FX.php in order to clamp down on the amount of data being returned. Disciplined layouts make a huge difference in performance.
> 
> Hope this helps,
> Dale
> 
> 
>  --
> Dale Bengston
> Streamline Studio, LLC
> www.streamline-studio.com
> 
> On Apr 9, 2013, at 4:40 PM, Ted Stein <tstein at innerfile.com> wrote:
> 
>> I am switching to FX.php from the FIleMaker API. I can't seem to figure out how to get the field names that are on a layout.
>> 
>> In the FileMaker API you can do this:
>> 
>> $fm = new FileMaker($database, $hostname, $username, $password);
>> $layout = $fm->getLayout($layout);
>> $fields = $layout->getFields();
>> 
>> And you would get an array of field names for that layout.
>> 
>> How is this done in FX?
>> 
>> Thanks in advance,
>> Ted
>> 
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20130409/742eaab7/attachment.html


More information about the FX.php_List mailing list