packages/woocommerce-blocks/src/BlockTypes/AbstractProductGrid.php


Lines:

1 to 31 of 31
<?php
namespace Automattic\WooCommerce\Blocks\BlockTypes;

use Automattic\WooCommerce\Blocks\Utils\BlocksWpQuery;
use Automattic\WooCommerce\Blocks\StoreApi\SchemaController;
use Automattic\WooCommerce\Blocks\Package;

/* class AbstractProductGrid */
/* function AbstractProductGrid::get_block_type_attributes() – Get a set of attributes shared across most of the grid blocks. */
/* function AbstractProductGrid::render() – Include and render the dynamic block. */
/* function AbstractProductGrid::get_schema_content_visibility() – Get the schema for the contentVisibility attribute */
/* function AbstractProductGrid::get_schema_orderby() – Get the schema for the orderby attribute. */
/* function AbstractProductGrid::parse_attributes() – Get the block’s attributes. */
/* function AbstractProductGrid::parse_query_args() – Parse query args. */
/* function AbstractProductGrid::set_ordering_query_args() – Parse query args. */
/* function AbstractProductGrid::set_block_query_args() – Set args specific to this block */
/* function AbstractProductGrid::set_categories_query_args() – Set categories query args. */
/* function AbstractProductGrid::set_visibility_query_args() – Set visibility query args. */
/* function AbstractProductGrid::get_products_limit() – Works out the item limit based on rows and columns, or returns default. */
/* function AbstractProductGrid::get_products() – Run the query and return an array of product IDs */
/* function AbstractProductGrid::get_container_classes() – Get the list of classes to apply to this block. */
/* function AbstractProductGrid::render_product() – Render a single products. */
/* function AbstractProductGrid::get_image_html() – Get the product image. */
/* function AbstractProductGrid::get_title_html() – Get the product title. */
/* function AbstractProductGrid::get_rating_html() – Render the rating icons. */
/* function AbstractProductGrid::get_price_html() – Get the price. */
/* function AbstractProductGrid::get_sale_badge_html() – Get the sale badge. */
/* function AbstractProductGrid::get_button_html() – Get the button. */
/* function AbstractProductGrid::get_add_to_cart() – Get the "add to cart" button. */
/* function AbstractProductGrid::enqueue_data() – Extra data passed through from server to client for block. */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      API Letters: ,,,