[ Index ]

PHP Cross Reference of phpBB-3.3.12-deutsch

title

Body

[close]

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

(no description)

Copyright: Copyright (c) 2010-2022 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

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

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: Sun Jun 23 12:25:44 2024 Cross-referenced by PHPXref 0.7.1