Wiki articles tagged with "authentication"

Showing 21-25 of 25 items.

How to setup RBAC with a php file

Created 14 years ago by bettor, updated 12 years ago by Stageline.

In this cookbook I will attempt to explain how to use the lightweight version of Role-Based Access Control using a php file. This version does not use database but a php file and is controlled by CPhpAuthManager class.

24 4
21 followers
Viewed: 114 212 times
Version: 1.1
Category: How-tos

How to use ldap in UserIdentity for authentication

Created 14 years ago by BeerSerc, updated 10 years ago by Navarr.

Yii does not have an LDAP class itself, but its very easy to implement LDAP in the stock UserIdentity class.

11 0
18 followers
Viewed: 96 915 times
Version: 1.1
Category: Tutorials

Adding login form to each page

Created 15 years ago by pestaa, updated 12 years ago by Yang He.

After adding proper form to the main layout, like:

3 1
7 followers
Viewed: 50 495 times
Version: 1.1
Category: Tutorials

How to use markItUp! on a text field for full WYSIWYG editing

Created 15 years ago by lucifurious, updated 14 years ago by wei.

This tutorial will show you how to use the Pogostick Yii Extension Library to make an HTML TEXTAREA input element into a full-fledged WYSIWYG editor pretty much with very little code.

3 0
3 followers
Viewed: 37 888 times
Version: 1.1
Category: Tutorials

How to add more information to Yii::app()->user

Created 15 years ago by qiang, updated 12 years ago by Yang He.

By default, the expression Yii::app()->user returns a [CWebUser] [application component](http://www.yiiframework.com/doc/guide/basics.application#application-component) which represents the information that are closely related with the current user. Some information can be persistent throughout the current user session. For example, [CWebUser] already comes with a [name|CWebUser::name] property th...

21 0
28 followers
Viewed: 228 641 times
Version: 1.1
Category: Tutorials