Файловый менеджер - Редактировать - /var/www/iplanru/data/www/i-plan.ru/templates/yoo_everest/warp/src/Warp/Asset/StringAsset.php
Назад
<?php /** * @package Warp Theme Framework * @author YOOtheme http://www.yootheme.com * @copyright Copyright (C) YOOtheme GmbH * @license http://www.gnu.org/licenses/gpl.html GNU/GPL */ namespace Warp\Asset; /** * String asset. */ class StringAsset extends AbstractAsset { /** * @var string */ protected $string; /** * Constructor. * * @param string $string * @param array $options */ public function __construct($string, $options = array()) { parent::__construct($options); $this->type = 'String'; $this->string = $string; } /** * Load asset callback. * * @param object $filter */ public function load($filter = null) { $this->doLoad($this->string, $filter); } /** * Get unique asset hash. * * @param string $salt * * @return string */ public function hash($salt = '') { return md5($this->string.$salt); } }
| ver. 1.4 |
Github
|
.
| PHP 5.4.45-1~dotdeb+6.1 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка