[Wiki] Localized version of CFormatter
The default CFormatter (accessible through Yii::app()->format) is not locale aware, unfortunately. Until it is, here is a quick and easy way to localize it, by extending the default class. Put this...
View Article[Wiki] pass variables or content block from view file to layout file
if you use yiic to generate webApplication there will exists a layouts dir under the protected/views/, and the Controller class under protected/components which will default use these layouts files ....
View Article[News] Yii 1.1 will be supported till Dec 31, 2015
Because Yii 1.1 has been widely used and it has received a lot of support from the community users, we decided to extend the end-of-maintenance date of Yii 1.1 to December 31, 2015. And if needed, we...
View Article[Wiki] Instantiate a child class that depends a type field from parent model...
[EN] [ES] Sometimes we have an scenario like this: class AnimalType extends CActiveRecord {} // Table with the "types" of Animals available class Animal extends CActiveRecord { // Parent model class //...
View Article[Wiki] Instanciar clase hija basada en campo de modelo padre (CActiveRecord)
[EN] [ES] A veces nos encontramos en circunstancias como ésta: class TipoAnimal extends CActiveRecord {} // Tabla con los "tipos" de Animales class Animal extends CActiveRecord { // Clase del modelo...
View Article[Extension] simplehtmldom
A HTML DOM parser written in PHP5+ let you manipulate HTML in a very easy way!
View Article[Extension] yii-littlesms
Расширение для Yii Framework по работе с API сервиса LittleSMS.ru
View Article