AuthorController
class AuthorController extends ControllerBase
Author controller
Methods
Enables path to Gryphon compatible view, if the view exists AND enableCompatibility is on.
Terminate the action with a view partial. Will dump output directly to browser, but return the action allowing process to continue.
Author view action, by default accepts URLs in the form of:
Details
        in ControllerBase at         line 16
                            
    initialize()
        
    
    Initialize response headers
        in ControllerBase at         line 44
                    protected        boolean
    enableCompatibilityView(string $view)
        
    
    Enables path to Gryphon compatible view, if the view exists AND enableCompatibility is on.
NOTE: This will mutate the internal view.
        in ControllerBase at         line 62
                    protected        
    terminateWithView(string $view, array $params = [], array $headers = [])
        
    
    Terminate the action with a view partial. Will dump output directly to browser, but return the action allowing process to continue.
        in ControllerBase at         line 88
                    protected        
    getHttpCodeDescription($code)
        
    
    
        in ControllerBase at         line 152
                    protected        mixed
    getRequestSegments(int $i = null)
        
    
    Return rewrite url segments
        in ControllerBase at         line 172
                    protected        array
    getJsonData()
        
    
    Fetch POSTed/PUTed json data
        at         line 34
                            
    indexAction()
        
    
    Author view action, by default accepts URLs in the form of:
- staff/SLUG
Returns the following items to the view:
- author - {see \Ceo\Models\Author}
- articles - collection of {see \Ceo\Models\Article}
- posts - collection of {see \Ceo\Models\Post}
- media - collection of {see \Ceo\Models\Media}
Looks for templates in the following order:
- staff/index.twig
- author/main.tpl