Improve docblock comments WC_Widget classes
* Added better comment to `widget`, `form` and `update` methods.
This commit is contained in:
parent
870ecfea11
commit
bc9019458c
|
@ -42,7 +42,7 @@ class WC_Widget_Cart extends WC_Widget {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* widget function.
|
* Output widget.
|
||||||
*
|
*
|
||||||
* @see WP_Widget
|
* @see WP_Widget
|
||||||
*
|
*
|
||||||
|
|
|
@ -35,7 +35,7 @@ class WC_Widget_Layered_Nav_Filters extends WC_Widget {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* widget function.
|
* Output widget.
|
||||||
*
|
*
|
||||||
* @see WP_Widget
|
* @see WP_Widget
|
||||||
*
|
*
|
||||||
|
|
|
@ -28,7 +28,7 @@ class WC_Widget_Layered_Nav extends WC_Widget {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* update function.
|
* Updates a particular instance of a widget.
|
||||||
*
|
*
|
||||||
* @see WP_Widget->update
|
* @see WP_Widget->update
|
||||||
*
|
*
|
||||||
|
@ -44,7 +44,7 @@ class WC_Widget_Layered_Nav extends WC_Widget {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* form function.
|
* Outputs the settings update form.
|
||||||
*
|
*
|
||||||
* @see WP_Widget->form
|
* @see WP_Widget->form
|
||||||
*
|
*
|
||||||
|
@ -105,7 +105,7 @@ class WC_Widget_Layered_Nav extends WC_Widget {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* widget function.
|
* Output widget.
|
||||||
*
|
*
|
||||||
* @see WP_Widget
|
* @see WP_Widget
|
||||||
*
|
*
|
||||||
|
@ -380,7 +380,7 @@ class WC_Widget_Layered_Nav extends WC_Widget {
|
||||||
} // End display type conditional
|
} // End display type conditional
|
||||||
|
|
||||||
$this->widget_end( $args );
|
$this->widget_end( $args );
|
||||||
|
|
||||||
if ( ! $found ) {
|
if ( ! $found ) {
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -37,7 +37,7 @@ class WC_Widget_Price_Filter extends WC_Widget {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* widget function.
|
* Output widget.
|
||||||
*
|
*
|
||||||
* @see WP_Widget
|
* @see WP_Widget
|
||||||
*
|
*
|
||||||
|
|
|
@ -83,7 +83,7 @@ class WC_Widget_Product_Categories extends WC_Widget {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* widget function.
|
* Output widget.
|
||||||
*
|
*
|
||||||
* @see WP_Widget
|
* @see WP_Widget
|
||||||
*
|
*
|
||||||
|
|
|
@ -35,7 +35,7 @@ class WC_Widget_Product_Search extends WC_Widget {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* widget function.
|
* Output widget.
|
||||||
*
|
*
|
||||||
* @see WP_Widget
|
* @see WP_Widget
|
||||||
*
|
*
|
||||||
|
|
|
@ -35,7 +35,7 @@ class WC_Widget_Product_Tag_Cloud extends WC_Widget {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* widget function.
|
* Output widget.
|
||||||
*
|
*
|
||||||
* @see WP_Widget
|
* @see WP_Widget
|
||||||
*
|
*
|
||||||
|
|
|
@ -154,7 +154,7 @@ class WC_Widget_Products extends WC_Widget {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* widget function.
|
* Output widget.
|
||||||
*
|
*
|
||||||
* @see WP_Widget
|
* @see WP_Widget
|
||||||
*
|
*
|
||||||
|
|
|
@ -43,7 +43,7 @@ class WC_Widget_Recent_Reviews extends WC_Widget {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* widget function.
|
* Output widget.
|
||||||
*
|
*
|
||||||
* @see WP_Widget
|
* @see WP_Widget
|
||||||
*
|
*
|
||||||
|
|
|
@ -43,7 +43,7 @@ class WC_Widget_Recently_Viewed extends WC_Widget {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* widget function.
|
* Output widget.
|
||||||
*
|
*
|
||||||
* @see WP_Widget
|
* @see WP_Widget
|
||||||
*
|
*
|
||||||
|
|
|
@ -45,7 +45,7 @@ class WC_Widget_Top_Rated_Products extends WC_Widget {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* widget function.
|
* Output widget.
|
||||||
*
|
*
|
||||||
* @see WP_Widget
|
* @see WP_Widget
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue