439
edits
| Line 260: | Line 260: | ||
<source lang="php"> | <source lang="php"> | ||
fields = $customfields->fetchFieldStruct($id=null, $nohide=false, $table=null, $cachepath=null); // where $id can be a column_name, an ordinal_position from information_schema.columns or null if you want to fetch all the columns at once | |||
</source> | </source> | ||
This method will either return null, either a single field object, either an array on field objects. | |||
Note: this function will use caching by default to accelerate future results, but you can disable it, or even change the default cache path. For more informations please read the comments in the source code. | Note: this function will use caching by default to accelerate future results, but you can disable it, or even change the default cache path. For more informations please read the comments in the source code. | ||
edits