$v = htmlElement::$enumAttributes[$n][$v]; } elseif (in_array($n, htmlElement::$boolAttributes)) { if (is_bool($v) && !$v || !is_bool($v) && $v !== 'true') { continue; } $v = $n; } $attributes[$n] = $v; } } } } } } //get url $attributes['src'] = get::file_url($src); $e = new he_img($attributes); if (!$this->echoOff) { echo $e; } return $e; } } /* Get the directory of THIS file so we can more easily specify sub directories */ $thisdir = strtr(dirname(__FILE__), '\\', '/'); if (substr($thisdir, -1) != '/') { $thisdir .= '/'; } htmlHelper::$heFolder = $thisdir . 'html/'; require htmlHelper::$heFolder . 'htmlElement.php'; spl_autoload_register(array('htmlHelper', 'autoload'), true, true);