Automattic\WooCommerce\EmailEditorVendor\Sabberworm\CSS\CSSList
AtRuleBlockList::render
Метод класса: AtRuleBlockList{}
Хуков нет.
Возвращает
string.
Использование
$AtRuleBlockList = new AtRuleBlockList(); $AtRuleBlockList->render( $oOutputFormat );
- $oOutputFormat(OutputFormat|null) (обязательный)
- .
Код AtRuleBlockList::render() AtRuleBlockList::render WC 11.3.0
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;
}