Difference between #5 and #6 of
How to use a Widget as an Action Provider

Revision #6 has been created by sumwai on Dec 13, 2011, 8:59:22 AM with the memo:

The last code example is wrong
« previous (#5) next (#7) »


Title unchanged

How to use a Widget as an Action Provider

Category unchanged


Yii version unchanged

Tags unchanged

Widgets, CAction

Content changed

return array(
// test. is the prefix we are going to use on our URL
// for all actions within the actionProvider class
// we point to the location where the provider
// is.
'application.components.testProvider',       'getData'=>array(      // property1 must be a public variable     // on getData CAction class      'property1'=>'value1',    ),
), ); } ```
24 0
Viewed: 45 665 times
Version: 1.1
Category: How-tos
Written by: Antonio Ramirez
Last updated by: stinkytofu
Created on: Feb 18, 2011
Last updated: 2 years ago
Update Article


View all history