Static Variable Not Working
HI Guys i am trying to increase a variable value whenever a function is called from Main page. Function something() { $count++; } I have declared $count as a static stil whenever i call this function...
View Article共用性質的函數該怎麼放呢?
例如 自己寫的產生 uuid() 的函數 在不同的 controler 會用到 在不同的 component 會用到 在不同的 commander 會用到 在不同的 module 會用到 這樣該寫在哪個位置呢? 以前習慣函數化的架構 來到框架內一時還真轉不過來
View ArticleNot Getting Star Image In Cstarrating Extension
Hey guys I am currenly working on a project, in which I need to include CStarRating. But When I am using it as follow : <?php $this->widget('CStarRating',array( 'model'=>$model,...
View ArticleDesign Cv App
Hi everyone, I'm fairly new to yii framework, but I know some basics. I'm developing a CV app that manages CVs (1 CV per user). I have the folowing tables: - cv (basic info) -- education (where the...
View ArticleRestaurants Portal Powered By Yii
Hi guys, I have developed alone this Restaurants Directory portal, there is still some features to be add and some works on back-end codes. Here is the link Restolinked Have a nice day
View ArticleHow To Put Table In Homepage
Hi all. first i am new in YII-FW and i really dont i have any idea how YII-FW works. but i know little bit php coding both OOP and procedural concept. but somehow i want doing correct works with YEE-FW...
View ArticleFREE Ebook Yii framework Bahasa Indonesia
Untuk rekan-rekan komunitas Yii Framework sekalian, saya membuat sebuah ebook Yii Framework berbahasa Indoensia.. Its free.....
View Article404 Error
hi i am new to yii,i successfully installed yii on my system and could run the demo projects.I even created a application folder 'demo' successfully.But i am not able to access the index page on...
View ArticleAjax Select-Меню
Доброго времени суток, ув.участники форума Yii! Я в Yii совсем начинающий и у меня появилась задача реализовать на Yii с использованием AJAX select-меню. Задача механизма: В select-меню имеется...
View ArticleCreate Registration Form -Step By Step
Hi ter, I'm new to yii framework and new to MVC. Anyone pls share with me how to create a registration form by using yii framework step by step. Tq
View ArticleYii And Javascript Frameworks?
Hi, Have you used any javascript framework (ember.js, angular.js,backbone.js, etc...) with Yii? If yes, what was the reason to apply a js framework with Yii? Are there real benefits to use them, if yes...
View ArticleCjuitabs And Form Validation Issue
Hi, I am facing form validation issue with CJuiTabs. I have 4 tabs all render form elements from different models. I have submit button in my tabs view. below is the code which renders forms: <?php...
View ArticleFeed Cgridview From Carraydataprovider
Hi. I have a city model which contains two attributes: id & city. I try to use CGridView and CArrayDataProvider instead of CActiveDataProvider. Here is my code for search function on city model:...
View ArticleMysql Stored Procedure Expert
Hello, I am expert of Mysql Stored procedure. I have experience in Yii frame work also. I am in PHP for last 4 years 7 months. So if any one feel suited please PM me or contact me on skype: samiul1978
View ArticleHow to call a MySQL stored procedure(with parameter) in Yii ?
How to call a MySQL stored procedure(with parameter) in Yii using any of Active Record, Query Builder or DAO ?
View ArticleCreación De Form Y Envío De Post
Buenas noches para todos, Estoy realizando una vista para listar unos estudiantes en una tabla cada cual con su respectivo checkBox, donde puedo seleccionar todos los registros o deseleccionarlos...
View ArticleCjuidialog Not Working
This is what my code looks like right now. As you can see I'm using tabs and CJuiDialog. The way the corde is right now, the Dialog actually comes up. <?php /* @var $this PeopleController */ /* @var...
View Articlearray_merge() vs. CMap::mergeArray(), json_encode() vs. CJSON::encode()
What are the benefits of using Yii's version instead of PHP's built-in version?
View Article$Model->Attributes = Array();赋值的属性无法验证
model下的rules array('a','unique','criteria'=>array('condition'=>'project_id = :id','params'=>array(':id'=>$this->project_id))), controller下 $model1 = new XXX; $model2 =...
View Article[Solucionado] Cgridview De Filas Con Un Atributo "mayor Que" Un Valor
Hola, Me gustaría programar un CGridView que imprima solo las filas que tengan un atributo mayor que un valor dado. ¿Es posible? Hasta ahora solo he estado usando el método "compare()" en el search del...
View Article