Class containing data for the content view.  
 More...
Class containing data for the content view. 
- Copyright
- 2020 Victor Deniz victo.nosp@m.r@mo.nosp@m.odle..nosp@m.com 
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 
◆ __construct()
      
        
          | core_contentbank\output\viewcontent::__construct | ( | contenttype | $contenttype, | 
        
          |  |  | content | $content ) | 
      
 
Construct this renderable. 
- Parameters
- 
  
    | contenttype | $contenttype | Content bank content type. |  | content | $content | Record of the contentbank_content table. |  
 
 
 
◆ export_for_template()
      
        
          | core_contentbank\output\viewcontent::export_for_template | ( | renderer_base | $output | ) |  | 
      
 
Export this data so it can be used as the context for a mustache template. 
- Parameters
- 
  
  
- Return values
- 
  
  
Implements templatable.
 
 
◆ get_edit_actions_dropdown()
  
  | 
        
          | core_contentbank\output\viewcontent::get_edit_actions_dropdown | ( |  | ) |  |  | protected | 
 
Get the content of the "More" dropdown in the tertiary navigation. 
- Return values
- 
  
    | array|null | The options to be displayed in a dropdown in the tertiary navigation |  
 
- Exceptions
- 
  
  
 
 
The documentation for this class was generated from the following file: