コード例 #1
0
ファイル: class.ilTemplate.php プロジェクト: bheyser/qplskl
 /**
  * Überladene Funktion, die auf den aktuelle Block vorher noch ein replace ausführt
  * @access	public
  * @param	string
  * @return	string
  */
 function parseCurrentBlock($part = "DEFAULT")
 {
     // Hier erst noch ein replace aufrufen
     if ($part != "DEFAULT") {
         $tmp = $this->activeBlock;
         $this->activeBlock = $part;
     }
     if ($part != "DEFAULT") {
         $this->activeBlock = $tmp;
     }
     $this->fillVars();
     $this->activeBlock = "__global__";
     if ($part == "DEFAULT") {
         return parent::parseCurrentBlock();
     } else {
         return parent::parseCurrentBlock($part);
     }
 }
コード例 #2
0
 function get($part = "DEFAULT")
 {
     if ($part == "DEFAULT") {
         return parent::get();
     } else {
         return parent::get($part);
     }
 }