Beispiel #1
0
 public function addInlineScript($text, $order = self::DEFAULT_ORDER)
 {
     if (!empty($text)) {
         if (!$this->isPopulated()) {
             parent::addInlineScript($text, $order);
         } else {
             $this->document->addScriptDeclaration($text);
         }
     }
 }