Méthode |
Description |
|
buildResource ( ) |
|
|
extractKey ( $value ) |
|
|
fetchParent ( $name ) |
|
|
findResource ( ) |
|
|
getAuthorizationAction ( ) |
|
|
getCollectionActions ( ) |
|
|
getCollectionInstance ( ) |
|
|
getCollectionScope ( ) |
|
|
getCreateActions ( ) |
And the Rails 'create' action is named 'store' in Laravel. |
|
getCurrentAbility ( ) |
Alias of getCurrentAuthority() to match CanCan API |
|
getCurrentAuthority ( ) |
|
|
getIdKey ( ) |
|
|
getIdParam ( ) |
|
|
getInstanceName ( ) |
|
|
getName ( ) |
|
|
getNameFromController ( ) |
|
|
getNamespace ( $controllerName = null ) |
|
|
getNamespacedName ( ) |
|
|
getNewActions ( ) |
Alias of getCreateActions() to match CanCan API |
|
getParentName ( ) |
|
|
getParentResource ( ) |
The object to load this resource through. |
|
getResourceBase ( ) |
The object that methods (such as "find", "new" or "build") are called on. |
|
getResourceClass ( ) |
only be used for authorization, not loading since there's no class to load through. |
|
getResourceClassWithParent ( ) |
|
|
getResourceInstance ( ) |
|
|
getResourceParams ( ) |
|
|
getResourceParamsByNamespacedName ( ) |
|
|
getResourcePrimaryKey ( ) |
|
|
isMemberAction ( ) |
|
|
loadCollection ( ) |
|
|
loadResourceInstance ( ) |
|
|
loadedCollection ( ) |
|
|
loadedInstance ( ) |
|
|
setAttributes ( $resource ) |
|
|
setCollectionInstance ( $instance ) |
|
|
setResourceInstance ( $instance ) |
|
|