Automattic\WooCommerce\Vendor\Sabberworm\CSS\CSSList
AtRuleBlockList::render
Method of the class: AtRuleBlockList{}
No Hooks.
Returns
String.
Usage
$AtRuleBlockList = new AtRuleBlockList(); $AtRuleBlockList->render( $oOutputFormat );
- $oOutputFormat(OutputFormat|null) (required)
- .
AtRuleBlockList::render() AtRuleBlockList::render code WC 10.8.1
public function render($oOutputFormat)
{
$sResult = $oOutputFormat->comments($this);
$sResult .= $oOutputFormat->sBeforeAtRuleBlock;
$sArgs = $this->sArgs;
if ($sArgs) {
$sArgs = ' ' . $sArgs;
}
$sResult .= "@{$this->sType}$sArgs{$oOutputFormat->spaceBeforeOpeningBrace()}{";
$sResult .= $this->renderListContents($oOutputFormat);
$sResult .= '}';
$sResult .= $oOutputFormat->sAfterAtRuleBlock;
return $sResult;
}