wp_back/wp-content/plugins/smart-slider-3/Nextend/Framework/Content/Content.php

28 lines
621 B
PHP
Raw Normal View History

2024-05-20 15:37:46 +03:00
<?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();