Lines Matching defs:tier
11 * tier1 : heading level corresponding to the 1st tier
12 * format : numbering format (used in vsprintf) of each tier, JSON array string
16 protected $Tier1Level; // (int) heading level corresponding to the 1st tier
17 protected $TierFormat; // (array) numbering format of each tier
26 * Set the first tier level
35 * Get the first tier level
43 * Set or initialise the numbering format of each tier
47 public function setTierFormat($format=null, $tier=null)
54 if ($tier === null) {
55 // initialise numbering format (tier 1 to 5) using config parameter
61 // set numbering format of the specified tier and sub-tires
63 $this->TierFormat[$tier + $k] = $value;
106 $tier = $level - $offset;
107 $numbers = array_slice($this->HeadingCount, $offset, $tier);
108 if (isset($this->TierFormat[$tier])) {
109 $tieredNumbers = vsprintf($this->TierFormat[$tier], $numbers);