Extensions
Go to page:
EOAuthUserIdentity class implements IUserIdentity Yii interface and the OAuth protocol to authenticate a user.
Based on Google's software.
Resources
EOpenID class extends from CBaseUserIdentity and implements the OpenID protocol to authenticate a user. Based on Mewp's LightOpenID class.
Resources
CAction provides a way to divide a complex controller into smaller actions in separate class files. XRenderAction extends CAction to enable direct access to controller methods. So you can move code from action methods in a controller to action class files without changes and blow up the code.
The sample showing you the usage of the class together with controllers from the Yii Blog demo.
This extension is a validator that is used to convert non-null empty values to null. It should only be used on fields that are nullable, and is very useful where the column has a foreign key contraint. It can also be used to save database space on empty blobs.
Note: Yii 1.1.4 no longer converts an empty string unsigned int to a null - it stores it as "".
Current version 0.9.11 (revision 103)
This extension utilizes Yii's built-in Database Authorization Manager (CDbAuthManager) to provide a web interface for advanced access control.
Screenshots available here.
Interested in translating Rights?
Rights is currently translated into Finnish, Swedish, German Hungarian, Italian, French and Spanish. Please contact me if you wish to translate Rights.
Features
- Manage Operations, Tasks and Roles (authorization items)
- Create/Update/Delete/View authorization items
- Add/Remove authorization item children
- Authorization item weights for sorting
- Assign/Revoke authorization item assignments
- Permissions overview
- Support for business rules (and data)
- Automatic Controller Access Control (ACAC)
- Authorization item generator
- Flash messages
- Internationalization (I18N)
- Automatic installer for easier set up
- Works even when nested in other modules
- Fancy web 2.0 interface
- Cross-browser and cross-database compatibility
- Easy to extend
Resources
Donate
This extension is Javascript WYSIWYG Editor + File Manager + Spell checker Based on ext tinymce upadate it add elfinder and add spell check
Resources
Haml and Sass have been used in Ruby for sometime to simplify templates (Haml) and make CSS more intelligent, flexible and manageable (Sass). This extension brings Haml and Sass to Yii.
It's kind of two extensions in one as you can use Haml and Sass independently of each other.
Included is PHamlP, a port of Haml and Sass to PHP. This is Haml/Sass V3.x compliant.
Haml
Haml is based on one primary principle. Markup should be beautiful.
Haml is a markup language that’s used to cleanly and simply describe the XHTML of any web document, without the use of inline code. It avoids the need for explicitly coding XHTML into the template, because it is actually an abstract description of the XHTML, with some code to generate dynamic content.
PHamlP comes with a rich set of filters that allow inclusion of javaScript, CSS, Sass, PHP, parsing with Markdown, and more.
PHamlP also provides some [helper methods][http://code.google.com/p/phamlp/wiki/HelperMethods] that can be used from your template, and you can extend the class and define your own.
PHamlP supports for, if, elseif, else, foreach, do, and while blocks.
Read the Haml tutorial then try it for yourself; you probably won't want to go back;
See http://haml-lang.com for details on Haml.
Sass
Sass is a meta-language on top of CSS that’s used to describe the style of a document cleanly and structurally, with more power than flat CSS allows.
It features include nested rules, variables, mixins, and more to make CSS powerful, manageable and DRY.
See http://sass-lang.com/ for details on Sass.
Resources
DbUrlManager extension.
Provides dynamic database-based URL rules.
These dynamic rules are like Wordpress' "pretty permalinks" or "friendly URLs". You do not have to have the controller name (or ID) on the URL: this extension can handle the request URI and route it to the correct controller.
Examples of clean and friendly URLs made possible by this extension:
http://mystore.com/blue-coffe-mug
http://myblog.com/my-first-post
Resources
This extension contains a widget to render an activeTextarea to enter Markdown text.
The rendered widget contains some buttons to add markdown tags for
- Bold, italic text
- Links
- Images
- Code
- Table structure.
