My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members

Yii Metadata component helps to get metadata about models,controllers and actions from your application

For using you need:

1. Place this file to directory with components of your application (your_app_dir/protected/components)

2. Add it to 'components' in your application config (your_app_dir/protected/config/main.php)

'components'=>array(
'metadata'=>array('class'=>'Metadata'),
...
),
3. Use:
$user_actions = Yii::app()->metadata->getActions('UserController'); var_dump($user_actions);
author Vitaliy Stepanenko <mail@vitaliy.in> version 0.1

Powered by Google Project Hosting