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'; } }
public function html($strip = false) { $header = "<!DOCTYPE html>\n"; if ($strip) { $header = ''; } $html = FluidHelper::domdocumentToStringWithoutHeaders($this->document->dom, true); return "{$header}{$html}"; }
public function html($strip = false) { return FluidHelper::domnodesToString($this->nodes, true); }