本文整理汇总了PHP中RevOperations::putRevCssCaptions方法的典型用法代码示例。如果您正苦于以下问题:PHP RevOperations::putRevCssCaptions方法的具体用法?PHP RevOperations::putRevCssCaptions怎么用?PHP RevOperations::putRevCssCaptions使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类RevOperations
的用法示例。
在下文中一共展示了RevOperations::putRevCssCaptions方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: defined
// no direct access
defined('_JEXEC') or die('Restricted access');
$user = JFactory::getUser();
// Access check.
if ($user->authorise('core.manage', "com_uniterevolution2") == false) {
return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}
$currentDir = dirname(__FILE__) . "/";
$currentFile = __FILE__;
$currentFolder = dirname($currentFile);
require_once $currentFolder . "/includes.php";
require_once $currentFolder . "/revslider_admin.php";
$action = UniteFunctionsRev::getPostGetVariable("action");
switch ($action) {
case "getcaptions":
RevOperations::putRevCssCaptions();
break;
}
//add tiny box dropdown menu
$tinybox = new RevSlider_TinyBox();
$productAdmin = new RevSliderAdmin($currentFile);
//set global title
$title = JText::_('COM_UNITEREVOLUTION2');
JToolBarHelper::title($title, 'generic.png');
//enable mootools on sliders view when the permissions option is
//enable toolbar options button on a sliders view.
$manager_permission = $user->authorise('core.admin', GlobalsRevSlider::PLUGIN_NAME);
$view = UniteFunctionsRev::getPostGetVariable("view");
if ((!$view || $view == "sliders") && $manager_permission) {
JToolBarHelper::preferences('com_uniterevolution2', 550, 875);
} else {