I am starting to add role based permission access behavior to my site. To make further management easier, I want to create an interface where admin user can add new operations/tasks/role and relate them.
For this I want to find whether the entered value of new operation already exists. How can I do that without creating an ActiveRecord model? I though Yii should have its native API to check if task/operation/role exists.
How can I check this?