Grid_Card
Handles the display of a Grid Card
Tags
Table of Contents
- $document : Document
- The Document.
- $args : mixed
- $columns : mixed
- $grid_content : mixed
- $links : mixed
- $post : mixed
- $template_loader : mixed
- $templates : mixed
- __construct() : mixed
- Constructor.
- get_document_link() : string
- Get the Document Link.
- get_html() : mixed
- Get the Grid Card HTML.
- get_image() : mixed
- Get the Document image of fallback icon.
- get_text_content() : string
- Get the Document text content.
- get_title() : string
- Get the Document Title.
- get_templates() : mixed
- Get the Grid Card templates.
Properties
$document
The Document.
protected
Document
$document
$args
private
mixed
$args
$columns
private
mixed
$columns
$grid_content
private
mixed
$grid_content
$links
private
mixed
$links
$post
private
mixed
$post
$template_loader
private
mixed
$template_loader
$templates
private
mixed
$templates
Methods
__construct()
Constructor.
public
__construct(Document $document, Table_Args $args, WP_Post $post) : mixed
Parameters
- $document : Document
- $args : Table_Args
- $post : WP_Post
Return values
mixed —get_document_link()
Get the Document Link.
public
get_document_link() : string
Return values
string —get_html()
Get the Grid Card HTML.
public
get_html() : mixed
Return values
mixed —get_image()
Get the Document image of fallback icon.
public
get_image() : mixed
Return values
mixed —get_text_content()
Get the Document text content.
public
get_text_content() : string
Return values
string —get_title()
Get the Document Title.
public
get_title() : string
Return values
string —get_templates()
Get the Grid Card templates.
private
get_templates() : mixed