(this page is translated by Google; We're working hard on a human translation)
Class TexyHeadingModule
He is responsible for titles and subtitles. Module (de) activate the disabling syntax:
// podtržené titulky
$texy ->allowed[ 'heading/underlined' ] = FALSE ;
// ohraničené titulky
$texy ->allowed[ 'heading/surrounded' ] = FALSE ; Configuration
| variable | type | default | description |
|---|---|---|---|
| $ Title | string | NULL | top title |
| $ TOC | array | here to generate content | |
| $ GenerateID | boolean | FALSE | generate subtitles ID? |
| $ IdPrefix | string | 'toc-' | prefix for generated ID |
| $ Top | int | 1 | ceiling, the highest level of headline |
| $ MoreMeansHigher | boolean | TRUE | more characters means higher headline |
| $ Balancing | int | Dynamic | method of weighing subtitles |
| $ Levels | array | Weighing table captions |
After processing, the text will be the first caption is stored in the variable $ title (no HTML coding, therefore, suitable for use in <title> ).
Method of weighting the subtitle identifies $ balancing, which can take values TexyHeadingModule::DYNAMIC (default) or TexyHeadingModule::FIXED . For PHP 4 is available constants TEXY_HEADING_DYNAMIC and TEXY_HEADING_FIXED . More information in the forum .
Examples
The highest level will have a headline <h2>
$texy ->headingModule->top = 2 ;





