title: How can i get all action from controller in yii?
body: <p>I have controller : RolePermissionController.php I wants get all action from this controller, here is my controller. How can i get this ? Any help will be really appreciated.</p>
  
  <pre><code>&lt;?php
  
  class RolepermissionController extends GxController {
  
  
      public function actionView($id) {
          $this-&gt;render('view', array(
              'model' =&gt; $this-&gt;loadModel($id, 'Rolepermission'),
          ));
      }
  
      public function actionCreate() {
          $model = new Rolepermission;
  
  
          if (isset($_POST['Rolepermission'])) {
              $model-&gt;setAttributes($_POST['Rolepermission']);
  
              if ($model-&gt;save()) {
                  if (Yii::app()-&gt;getRequest()-&gt;getIsAjaxRequest())
                      Yii::app()-&gt;end();
                  else
                      $this-&gt;redirect(array('view', 'id' =&gt; $model-&gt;RoleID));
              }
          }
                  $appControllerPath = Yii::getPathOfAlias('application.controllers'); 
                  if(is_dir($appControllerPath))
                      $fileLists = CFileHelper::findFiles($appControllerPath);
                  foreach($fileLists as $controllerPath)
                  { 
                      $controllerName = substr($controllerPath,  strrpos($controllerPath, DIRECTORY_SEPARATOR)+1,-4);   
                  }
          $this-&gt;render('create', array( 'model' =&gt; $model));
      }
  
      public function actionUpdate($id) {
          $model = $this-&gt;loadModel($id, 'Rolepermission');
  
  
          if (isset($_POST['Rolepermission'])) {
              $model-&gt;setAttributes($_POST['Rolepermission']);
  
              if ($model-&gt;save()) {
                  $this-&gt;redirect(array('view', 'id' =&gt; $model-&gt;RoleID));
              }
          }
  
          $this-&gt;render('update', array(
                  'model' =&gt; $model,
                  ));
      }
  
      public function actionDelete($id) {
          if (Yii::app()-&gt;getRequest()-&gt;getIsPostRequest()) {
              $this-&gt;loadModel($id, 'Rolepermission')-&gt;delete();
  
              if (!Yii::app()-&gt;getRequest()-&gt;getIsAjaxRequest())
                  $this-&gt;redirect(array('admin'));
          } else
              throw new CHttpException(400, Yii::t('app', 'Your request is invalid.'));
      }
  
      public function actionIndex() {
          $dataProvider = new CActiveDataProvider('Rolepermission');
          $this-&gt;render('index', array(
              'dataProvider' =&gt; $dataProvider,
          ));
      }
  
      public function actionAdmin() {
          $model = new Rolepermission('search');
          $model-&gt;unsetAttributes();
  
          if (isset($_GET['Rolepermission']))
              $model-&gt;setAttributes($_GET['Rolepermission']);
  
          $this-&gt;render('admin', array(
              'model' =&gt; $model,
          ));
      }
  
  }
  </code></pre>