[ Index ]

PHP Cross Reference of phpBB-3.3.7-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Configurator/Traits/ -> TemplateSafeness.php (summary)

(no description)

Copyright: Copyright (c) 2010-2021 The s9e authors
License: http://www.opensource.org/licenses/mit-license.php The MIT License
File Size: 106 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 8 functions

  isSafe()
  isSafeAsURL()
  isSafeInCSS()
  isSafeInJS()
  markAsSafeAsURL()
  markAsSafeInCSS()
  markAsSafeInJS()
  resetSafeness()

Functions
Functions that are not part of a class:

isSafe($context)   X-Ref
Return whether this object is safe to be used in given context

param: string $context Either 'AsURL', 'InCSS' or 'InJS'
return: bool

isSafeAsURL()   X-Ref
Return whether this object is safe to be used as a URL

return: bool

isSafeInCSS()   X-Ref
Return whether this object is safe to be used in CSS

return: bool

isSafeInJS()   X-Ref
Return whether this object is safe to be used in JavaScript

return: bool

markAsSafeAsURL()   X-Ref
Return whether this object is safe to be used as a URL

return: self

markAsSafeInCSS()   X-Ref
Return whether this object is safe to be used in CSS

return: self

markAsSafeInJS()   X-Ref
Return whether this object is safe to be used in JavaScript

return: self

resetSafeness()   X-Ref
Reset the "marked safe" statuses

return: self



Generated: Thu Mar 24 21:31:15 2022 Cross-referenced by PHPXref 0.7.1