Get field label [solved]

This topic is: not resolved

This topic contains 3 replies, has 3 voices, and was last updated by  becskr 2 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #164541

    Hi,

    I’m a newbie to PodsCMS and i can’t find an answer to this question in the user guide :
    When creating a pod object with new Pod(‘whatever’), or retrieving a set of records with findRecords(‘whateverParams’), how can i get the fields meta data (like field label for example) ?

    Thanks

    #164542

    Auto-answer :
    Can be achieved via PodAPI, if lightly modified to get label when retrieving fields info.

    Thanks to sc0ttkclark

    #164543

    sc0ttkclark
    Keymaster
    Post count: 799

    No problem, we’ll make sure to update load_pod with an associative array based on column name for the field data returned.

    #164544

    becskr
    Member

    Hi sorry, but I don’t understand the answers given here! Here;s an example of the code i’m using:

    Could you show me how to manipulate this to show the labels for each of the fields with it?

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Wordpress Cloud Hosting