Documentation

DelTags

int CBXSanitizer::DelTags(
 array arTagsNames
)

The method deletes tags from the whitelist.

Returns the number of tags, deleted from the whitelist.

CBXSanitizer::DelTags() can be called only as the initialized object method and not as static method of CBXSanitizer class.

Parameters

ParameterDescription
arTagsNamesArray containing tag names to be deleted from the whitelist.
  • Tag name 1
  • Tag name 2
  • ...

Examples

  $Sanitizer->DelTags( array ( 'a', 'br' ));


© «Bitrix24», 2001-2024
Up