Printable commands Inlinesource

What is Inline source?

This command is used to introduce one type of data source file which is created in the file And there is no need to connect to the database to extract them. The overall structure of this command is as follows

< basis core= "inlinesource" name= "inline" >
< member name="value2" type= "scalar"value= "groupid"/>
< member name="time" type= "scalar"
Time is [cms.time]and[]
</member >
< member name="value4" type= "scalar"value= "e"/>
< member name="value5" type= "scalar"value= "l"/>
<basis >
Each command has a number of children of <member /> is in fact the entries provide access to the data command. For example, a set of command above (whole command) refers to the four tables or database (each member).

Each entry also has a feature called type that introduce nature of the data in member. Adjustable values for this feature in this version of the software is as follows: list, view, tree, scalar

All orders must have the name property, because the processing commands will need this property to access collected data. Also, since the data are provided by command members, so each member must also have a unique name (of course within the scope of the order) which is determined by the "name" attribute. According to what was said through the instructions to access the data processing commands, both whole command name and member name are required. These 2 are known by joining eachother with a dot (.).

For example, the unique name of each entry of the command, as follows:

This command, like the rest of the instructions, only create the required data for processing orders and therefore does not generate output html file, and will be removed from the file After running the data. It is essential to note that data of every member are available for printable commands in the form of a table data. Due to this, even the members that returns a scalar outputs their results are in the form of an offering table. Of course, a table with one row and one column of data.
Cammands with scalar nature are in 2 different types:
< member name="value4" type="scalar" value="susan"/>
Above sample will return a table of data with one column and one row with value=susan
< member name="time" type="scalar">
This is a Test
The second way is usually used for massive data or some that have Prohibited or Special characters for value attribute. And if you Merger these 2 way the value is in first Priority.

For none scalar data which are like the set of rows and columns fallow this structure:
< member name="tree" type="tree"
< row id="1" parentid ="0" fname="susan" lname="kein"/>
< row id="2" parentid ="0" fname="armit" lname="power"/>
< row id="3" parentid ="2" fname="ana" lname="miral"/> </member>
The content of the element <member> contains a set of <row>, which make up the table rows. The column structure is extracted from the attributes of the first of the <row>. For example, in the example above, the output table will be with four columns named id, parentId, fname and lname. Obviously the rest of the <row> should have a similar structure to prevent errors. The above command will output a table with four columns and three rows.
< basis core="inlinesource" name="product" source= "inline" >
<member Type="list" name="store" >
< row name= "book" price= "2000"/>
< row name= "pen" price= "1000"/>
< row name= "bag" price= "3000"/>
< /member>