Those docs might be for 1.x and not
updated yet. The only docs I've noticed for 2.x are in the
README.md file.
There is a function mentioned in the README.md file in the 3rd box
in this section:
https://github.com/troydavisson/PHRETS/blob/master/README.md#user-content-processing-results
$record->getFields(); // return an array of the field names associated with this record
I also just use the Session.php file to scan which options there,
I was actually converting a script form 1.x to 2.x by looking at
some of the variables in the 1.x code and searching the 1.x
phprets.php file and searching the same variables or parts or key
values etc with in the Session.php file to compare which functions
to use.
- phrets\vendor\troydavisson\phrets\src\Session.php
My problem seems to be more that I can't get the records properly
or something. Once I figure that out I will be done! Woohoo.