Product_Attribute extends Abstract_Product_Data
Gets data for an attribute column.
Tags
Table of Contents
- $links : mixed
 - $parent_product : mixed
 - $product : mixed
 - $attribute : mixed
 - $lazy_load : mixed
 - $search_column : mixed
 - $show_links : mixed
 - $show_links_text_attributes : mixed
 - __construct() : mixed
 - get_data() : mixed
 - get_filter_data() : mixed
 - get_sort_data() : mixed
 - format_term_data() : mixed
 - get_parent_product() : mixed
 - get_parent_product_id() : mixed
 - get_product_attribute() : mixed
 - get_product_id() : mixed
 - get_product_taxonomy_terms() : mixed
 - get_separator() : mixed
 - maybe_strip_shortcodes() : mixed
 - format_taxonomy_attribute() : mixed
 - format_text_attribute() : mixed
 
Properties
$links
    protected
        mixed
    $links
    
        
        
    
$parent_product
    protected
        mixed
    $parent_product
    
        
        
    
$product
    protected
        mixed
    $product
    
        
        
    
$attribute
    private
        mixed
    $attribute
    
        
        
    
$lazy_load
    private
        mixed
    $lazy_load
    
        
        
    
$search_column
    private
        mixed
    $search_column
    
        
        
    
$show_links
    private
        mixed
    $show_links
    
        
        
    
$show_links_text_attributes
    private
        mixed
    $show_links_text_attributes
    
        
        
    
Methods
__construct()
    public
                __construct(mixed $product, mixed $attribute[, mixed $links = '' ][, mixed $lazy_load = false ]) : mixed
        
        Parameters
- $product : mixed
 - $attribute : mixed
 - $links : mixed = ''
 - $lazy_load : mixed = false
 
Return values
mixed —get_data()
    public
                get_data() : mixed
        
    
    
        Return values
mixed —get_filter_data()
    public
                get_filter_data() : mixed
        
    
    
        Return values
mixed —get_sort_data()
    public
                get_sort_data() : mixed
        
    
    
        Return values
mixed —format_term_data()
    protected
            static    format_term_data(WP_Term $term[, mixed $show_links = false ][, mixed $column = null ]) : mixed
        
        Parameters
- $term : WP_Term
 - $show_links : mixed = false
 - $column : mixed = null
 
Return values
mixed —get_parent_product()
    protected
                get_parent_product() : mixed
        
    
    
        Return values
mixed —get_parent_product_id()
    protected
                get_parent_product_id() : mixed
        
    
    
        Return values
mixed —get_product_attribute()
    protected
            static    get_product_attribute(mixed $attribute, mixed $attributes) : mixed
        
        Parameters
- $attribute : mixed
 - $attributes : mixed
 
Return values
mixed —get_product_id()
    protected
                get_product_id() : mixed
        
    
    
        Return values
mixed —get_product_taxonomy_terms()
    protected
                get_product_taxonomy_terms(mixed $column) : mixed
        
        Parameters
- $column : mixed
 
Return values
mixed —get_separator()
    protected
            static    get_separator(mixed $item_type) : mixed
        
        Parameters
- $item_type : mixed
 
Return values
mixed —maybe_strip_shortcodes()
    protected
            static    maybe_strip_shortcodes(mixed $text[, mixed $process_shortcodes = false ]) : mixed
        
        Parameters
- $text : mixed
 - $process_shortcodes : mixed = false
 
Return values
mixed —format_taxonomy_attribute()
    private
                format_taxonomy_attribute(mixed $attribute_term) : mixed
        
        Parameters
- $attribute_term : mixed
 
Return values
mixed —format_text_attribute()
    private
                format_text_attribute(mixed $text_attribute) : mixed
        
        Parameters
- $text_attribute : mixed