• File: Content.php
  • Full Path: /home/atelipy/www/wpmain/plugins/smart-slider-3/Nextend/Framework/Content/Content.php
  • File size: 621 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace Nextend\Framework\Content;

use Nextend\Framework\Content\Joomla\JoomlaContent;
use Nextend\Framework\Content\WordPress\WordPressContent;

class Content {

    /**
     * @var AbstractPlatformContent
     */
    private static $platformContent;

    public function __construct() {
        self::$platformContent = new WordPressContent();
    }

    public static function searchLink($keyword) {
        return self::$platformContent->searchLink($keyword);
    }

    public static function searchContent($keyword) {
        return self::$platformContent->searchContent($keyword);
    }
}

new Content();