Wiki

Sorted by ratingX
Displaying 501-510 of 777 result(s).

Profiling using XDebug

Created 3 years ago by le_topHow-tos1 comment – viewed 9,464 times – ( +3 ) – version all
A short explication on how to extract profile information for PHP on your server using XDebug and KCacheGrind or WinCacheGrind.

Role Management

Created 2 years ago by Dency G BHow-tos0 comments – viewed 9,308 times – ( +3 ) – version 2.0
Implementing a role based access control is a very easy process and you can even load your roles from the database if you want.
tags: rbac, yii2

Configuring CWebLogRoute for DB profiling

Created 4 years ago by Igor IvanovicTutorials1 comment – viewed 22,898 times – ( +3 ) – version 1.1
/index.php /protected/config/main.php
tags: logger, profiler, db

Behaviour for Time Zone and Format conversion for Date, Time, timestamp, and datetime

Created about a year ago by SmitheshHow-tos1 comment – viewed 7,305 times – ( +3 ) – version 1.1
This Behaviour helps to view time/date/timestamp/datetime from db to local Date / Time / Date Time format and in local Timezone. And save into db in with db timezone and db format. You only need to include this behaviour in models where need this facility.

Inline views, write less

Created 3 years ago by FirebreakerTips0 comments – viewed 5,719 times – ( +3 )
Sometimes writing views like

Moving the vendor directory for multiple projects

Created about a year ago by mariosimaremareHow-tos2 comments – viewed 9,804 times – ( +5 / -1 ) – version 2.0
This How-To is useful if you are planning to move the Yii vendor directory outside the default location.

Customizing the CMenu Widget

Created 3 years ago by mistrybTips1 comment – viewed 46,086 times – ( +5 / -1 ) – version 1.1
The CMenu class provides some useful features for generating menus in your web application.

How to access a component of a module from within the module itself

Created 7 years ago by OriginalCopyTutorials3 comments – viewed 33,786 times – ( +5 / -1 ) – version 1.1
The Yii documentation states:
tags: module

Yii HMVC

Created 3 years ago by ezekielnoobHow-tos6 comments – viewed 12,089 times – ( +5 / -1 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider

Integrating with other frameworks

Created 7 years ago by KJediTutorials4 comments – viewed 20,254 times – ( +5 / -1 ) – version 1.1
When you need to integrate with other frameworks (e.g. Zend Framework), you have to follow these steps: