 |
The page is generated with the help PHP - creating pattern MaxReplace
Files used at generation: replace.txt, en.txt, main.htm, top.htm, blue.htm, menu.txt, lang.txt, blue_baners.htm, baners.txt, gray.htm, markers.htm, markers_en.txt, buttom.htm
Time of generation: 0.0661149024963 msec
|
|
|
 |
Markers |
 |
|
Marker - cycle
For a type the cycle can be one-dimensional or two-dimensional, one-dimensional the vector and simple line is used for given of a type, two-dimensional the cycle is used for given of a type a matrix.
One-dimensional
The one-dimensional cycle can include the following markers:
[mtb] - the beginning of the top cycle (is necessary);
[mte] - the end of the top cycle (is necessary, if was announced [mtb] );
[mwp] - place for insert of the top cycle (if is absent, body of the top cycle will be inserted between [mtb] and [mte] );
[m#] - number of the current step of a cycle (should be in a body of the top cycle);
[value#] - value of the current element of a vector (should be in a body of the top cycle).
Two-dimensional
Markers two-dimensional of a cycle, are the markers one-dimensional, and rule concerning to a marker [value#] of the top cycle, are inherited to all bottom cycle:
[stb] - beginning of the bottom cycle;
[ste] - the end of the bottom cycle (is necessary, if was announced [stb] );
[swp] - place for insert of the bottom cycle (if is absent, body of the bottom cycle will be inserted between [stb] and [ste] );
[m#] - number of the current step of the top cycle;
[s#] - number of the current step of the bottom cycle;
[value#] - value of the current element (should be in a body of the bottom cycle).
** ATTENTION!!! the bottom cycle can be enclosed in top only once.
Markers - methods
Cause built - in in the builder of patterns methods, and depending on entrance parameters (them can and to not be), return result.
[setnewparams: here are described of a marker - cycle, through a point ]
the function establishes specified of a marker - cycle, as parameter - analysis of a pattern,
If the pattern idle time, is possible to take advantage of the built - in parameters - analysis:
DEFPARAM= " [mtb] , [mte] , [mwp] , [stb] , [ste] , [swp] , #, [m#] , [s#] , [value#] "
The second set it DEFPARAM2, almost too most as in DEFPARAM, only square [ ] brackets are replaced on figured { }
[filelines:]
The function returns real quantity(amount) of lines in a file, works for files which were used in one-dimensional and two-dimensional cycles earlier.
[alldata]
Returns the links to all used in builder of patterns files (patterns and data), the link to each file looks like: <a class='myfiles' href="way to a file / file">файл</a>
You can independently nominate style of a conclusion of the given block, simply describe style myfiles in the css-file or in style.
[codetime]
Returns time of generation of page (in micro seconds)
[skinpath] и [datapath]
Return a way to folders established by function setpath(Directory of patterns, directory of the data).
[autopattern: pattern< Rules of sample >,data< Rules of sample > through a point]
The built - in builder of patterns |
|
|
 |
|
 |
|
|
|
|