Changes between Version 37 and Version 38 of S3/S3AAA/OrgAuth


Ignore:
Timestamp:
09/04/12 11:00:40 (9 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3AAA/OrgAuth

    v37 v38  
    99A '''person entity''' is a type of records describing business entities which involve one or more individual persons. This can be, e.g., organisations, offices, teams, and of course persons.
    1010
     11Person entity types implement the pr_pentity super-entity:
     12
     13{{{
     14        table = define_table(tablename,
     15                             super_link("pe_id", "pr_pentity"),
     16                             ...
     17
     18        s3db.configure(tablename,
     19                       super_entity="pr_pentity",
     20                       ...
     21}}}
     22
     23To retrieve the person entity ID (pe_id) of any instance record, you can use:
     24
     25{{{
     26    pe_id = s3db.pr_get_pe_id(tablename, record_id)
     27}}}
    1128=== Organisation Units ===
    1229