Mustache templating for the Yii Framework.
WARNING: this package is abandoned and no longer maintained.
Mustache for Yii is distributed under the MIT License.
YII_DEBUG
and Yii environment constants are not exposed anymore.ViewRenderer->view
property.Loader
class does not take into account the view context.yii\base\InvalidParamException
class by yii\base\InvalidArgumentException
.yii\base\Object
now extend from BaseObject
.CACHE_KEY_PREFIX
constants.ViewRenderer->cacheId
property.ViewRenderer->cache
property.ViewRenderer->enableCaching
property.yii\mustache\helpers\HTML
class to Html
.yii\mustache\helpers\URL
class to Url
.init()
methods for validating the required properties.Cache
class now extends from Object
class, and implements the Mustache_Cache
interface.Logger
class now extends from Object
class, and implements the PSR-3 logger interface.Cache
and Logger
classes.jsonSerialize()
and __toString()
methods.toJSON()
methods.final
modifier from the jsonSerialize()
methods.jsonSerialize()
and toJSON()
methods.Helper
class to the yii\mustache
namespace.CMustacheI18nHelper
helper for internationalization.CMustacheHtmlHelper->getTranslate()
method to CMustacheI18nHelper
class.
Comments