Configuration

Configuration keys for the Solar_Role_Adapter_Sql class.

cache

  • (dependency) A Solar_Cache dependency injection. Default is to create a Solar_Cache_Adapter_Session object internal to this instance to retain the role list.

  • Default: array ( 'adapter' => 'Solar_Cache_Adapter_Session', 'prefix' => 'Solar_Role_Adapter', )

sql

  • (dependency) A Solar_Sql dependency.

  • Default: 'sql'

table

  • (string) The table where roles are stored.

  • Default: 'roles'

handle_col

  • (string) The column for user handles.

  • Default: 'handle'

role_col

  • (string) The column for roles.

  • Default: 'name'

where

  • (string|array) Additional _multiWhere() conditions to use when selecting role rows.

  • Default: array ( )



Local