Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

XBRLGetPresentationEntry Function

Overview

The XBRLGetPresentationEntry function returns a high level presentation entry from the master index.

Syntax/Parameters

Syntax

string[] = XBRLGetPresentationEntry ( handle hXM, int index );

Parameters

hXM

A handle to an XBRL Object containing taxonomy information.

index

An int specifying the zero-based index of a presentation entry table.

Return Value

Returns a string list of properties or an empty array on failure. Use the GetLastError function to retrieve a formatted error code.

Remarks

After processing or adding to the presentation database, line item entries are organized in a serial list presentation by presentation. Each presentation group is separated by a null record. Programmer can enumerate records from the le_x position retrieved from the XBRLGetPresentation function until a null record is reached or the end of the list. The count of entries can be retrieved using the XBRLGetPresentionEntryCount function.

The array key names are as follows : 

  Key Name   Description/Comment  
           
  Record:      
    title   An optional title for the presentation entry.  
    order   A decimal string containing the ordering of the entry.  
    indent   A decimal string containing the zero-based level or indent of the item in the tree in relation to the entry prior. If 0, it is the first entry.  
    element   Fully qualified QName for the concept.  
    prefix   Prefix name (as part of a QName).  
    concept   Concept name within the concept array.  
    label   Optional label text. This can be the text added during a call to add an entry or the label text from the label linkbase.  
    role   Optional label role. If blank, then the default label role applies.  
  Control      
    position   A decimal string containing the zero-based position of the record.  
    m_x   A decimal string containing the index of the master entry, the parent.  
    pe_flags   A decimal string containing the Line Entry Index.  

 .

 

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic