AreaResponse
class AreaResponse extends Response (View source)
Properties
| protected ObjectInterface | $object | from Response | |
| protected PermissionKeyCategory | $category | from Response | |
| static | $cache | from Response | 
Methods
Sets the current permission object to the object provided, this object should implement the Permission ObjectInterface.
Sets the current Permission Category object to an appropriate PermissionKeyCategory.
Returns an error constant if an error is present, false if there are no errors.
Passing in any object that implements the ObjectInterface, retrieve the Permission Response object.
This function returns true if the user has permission to the object, or false if they do not have access.
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
        
                            
    setPermissionObject(ObjectInterface $object)
        
    
    Sets the current permission object to the object provided, this object should implement the Permission ObjectInterface.
        
                            
    getPermissionObject()
        
    
    Retrieves the current permission object.
        
                            
    setPermissionCategoryObject(PermissionKeyCategory $category)
        
    
    Sets the current Permission Category object to an appropriate PermissionKeyCategory.
        
                            bool|int
    testForErrors()
        
    
    Returns an error constant if an error is present, false if there are no errors.
        
                static            Response
    getResponse(ObjectInterface $object)
        
    
    Passing in any object that implements the ObjectInterface, retrieve the Permission Response object.
        
                            bool
    validate(string $permissionHandle, array $args = array())
        
    
    This function returns true if the user has permission to the object, or false if they do not have access.
        
                            
    __call($f, $a)
        
    
    No description
        
                            
    canRead()
        
    
    No description
        
                            
    canWrite()
        
    
    No description
        
                            
    canAdmin()
        
    
    No description
        
                            
    canAddBlocks()
        
    
    No description
        
                            
    canAddStacks()
        
    
    No description
        
                            
    canAddStack()
        
    
    No description
        
                            
    canAddLayout()
        
    
    No description
        
                            
    canAddBlock($bt)
        
    
    No description
        
                            
    canViewAreaControls()
        
    
    No description