public static function byContent($content) { if ($content == false || $content == null) { return false; } if (self::$parser === null) { self::$parser = new nFormParser(); } self::$parser->content = $content; self::$parser->setup(); return self::$parser; }