public static function getInstance() { if (!self::$instance instanceof self) { self::$instance = new self(); } return self::$instance; }
/** * keyword_encode * Adds keyword decorators to specified block * * @param string $content - the HTML or text block to encode * @param string $selector - optional - limit HTML encoding to specified css selector * @return encoded HTML or text block * @author Brent Shaffer */ function keyword_encode($content, $selector = null) { return SeoKeywordToolkit::getInstance()->parseBlock($content, $selector); }