protected function recognizeIntegerMixed($k, $v)
 {
     // if (! \is_integer($k)) {
     //         return;
     // }
     if (\is_string($v)) {
         if (FluidHelper::isAnXmlString($v)) {
             return 'insertIntegerXml';
         }
         return 'insertIntegerString';
     }
     if (\is_array($v)) {
         return 'insertIntegerArray';
     }
 }
Beispiel #2
0
 public function html($strip = false)
 {
     $header = "<!DOCTYPE html>\n";
     if ($strip) {
         $header = '';
     }
     $html = FluidHelper::domdocumentToStringWithoutHeaders($this->document->dom, true);
     return "{$header}{$html}";
 }
Beispiel #3
0
 public function html($strip = false)
 {
     return FluidHelper::domnodesToString($this->nodes, true);
 }