[FX.php List] Get field names for a layout?
Dale Bengston
dale.bengston at gmail.com
Tue Apr 9 15:54:59 MDT 2013
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/f4cb351e/attachment.html
More information about the FX.php_List
mailing list