# Get controller =\> actions list

**URL:** <https://discourse.cakephp.org/t/get-controller-actions-list/6302>\
**Category:** Need Help\
**Created:** [June 22, 2019, 5:12pm UTC](https://discourse.cakephp.org/t/get-controller-actions-list/6302 "2019-06-22T17:12:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlzGamer](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/alzgamer/32/2144_2.png) [@AlzGamer](https://discourse.cakephp.org/u/AlzGamer)\
**Post date:** [June 22, 2019, 5:12pm UTC](https://discourse.cakephp.org/t/get-controller-actions-list/6302/1 "2019-06-22T17:12:12Z")

</div>

Hello.  
I want to made access controller. Can I get array/object with controllers list and them actions?  
Or maybe you can help me made custom code?  
Thank you.

---

<div class="post-metadata">

**Author:** ![raul338](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/raul338/32/69_2.png) [@raul338](https://discourse.cakephp.org/u/raul338)\
**Post date:** [June 22, 2019, 5:45pm UTC](https://discourse.cakephp.org/t/get-controller-actions-list/6302/2 "2019-06-22T17:45:35Z")

</div>

You can use [cakephp/acl/AclExtras.php](https://github.com/cakephp/acl/blob/master/src/AclExtras.php) code.

Start with getControllerList() and \_checkMethods()

However this doesn’t work with runtime defined actions (eg. actions declared in beforeFilter)
