return $header;
}
- private function __construct() { }
+ /**
+ * Forbid creation of EmailGrammer objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
}
<?php
namespace wcf\system\html\metacode\converter;
+/**
+ * TOOD documentation
+ * @since 2.2
+ */
abstract class AbstractMetacodeConverter implements IMetacodeConverter {
/**
* @inheritDoc
<?php
namespace wcf\system\html\metacode\converter;
+/**
+ * TOOD documentation
+ * @since 2.2
+ */
class ColorMetacodeConverter extends AbstractMetacodeConverter {
/**
* @inheritDoc
<?php
namespace wcf\system\html\metacode\converter;
+/**
+ * TOOD documentation
+ * @since 2.2
+ */
interface IMetacodeConverter {
/**
* Converts a known metacode into the HTML representation normally used by the WYSIWYG
<?php
namespace wcf\system\html\metacode\converter;
+/**
+ * TOOD documentation
+ * @since 2.2
+ */
class QuoteMetacodeConverter extends AbstractMetacodeConverter {
/**
* @inheritDoc
<?php
namespace wcf\system\html\node;
+/**
+ * TOOD documentation
+ * @since 2.2
+ */
abstract class AbstractHtmlNode implements IHtmlNode {
protected $tagName = '';
<?php
namespace wcf\system\html\node;
+/**
+ * TOOD documentation
+ * @since 2.2
+ */
interface IHtmlNode {
public function getTagName();
return ((count(call_user_func_array($function, $params1)) === 0) && (count(call_user_func_array($function, $params2)) === 0));
}
- private function __construct() { }
+ /**
+ * Forbid creation of ArrayUtil objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
}
return DateUtil::format(DateUtil::getDateTimeByTimestamp($timestamp), DateUtil::DATE_FORMAT);
}
- private function __construct() { }
+ /**
+ * Forbid creation of CLIUtil objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
}
return is_subclass_of($className, $targetClass);
}
- private function __construct() { }
+ /**
+ * Forbid creation of ClassUtil objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
}
}
}
- private function __construct() { }
+ /**
+ * Forbid creation of CronjobUtil objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
}
}
}
- private function __construct() { }
+ /**
+ * Forbid creation of CryptoUtil objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
}
return self::getParentBefore($node, $ancestor);
}
- private function __construct() { }
+ /**
+ * Forbid creation of DOMUtil objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
}
return ($date->format('W') == 53 ? 53 : 52);
}
- private function __construct() { }
+ /**
+ * Forbid creation of DateUtil objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
}
/**
* @see \wcf\util\DirectoryUtil::getInstance()
*/
- private final function __clone() {}
+ private final function __clone() {
+ // does nothing
+ }
/**
* Returns a sorted list of files.
*/
const ORIENTATION_270_ROTATE = 8;
- private function __construct() { }
+ /**
+ * Forbid creation of ExifUtil objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
/**
* Returns the exif data of the image at the given location or an empty
return 'fa-file-o';
}
- private function __construct() { }
+ /**
+ * Forbid creation of FileUtil objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
}
WCF::getTPL()->display('redirect');
}
- private function __construct() { }
+ /**
+ * Forbid creation of HeaderUtil objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
}
}
}
- private function __construct() { }
+ /**
+ * Forbid creation of ImageUtil objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
}
return json_last_error();
}
- private function __construct() { }
+ /**
+ * Forbid creation of JSON objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
}
];
}
- private function __construct() { }
+ /**
+ * Forbid creation of MathUtil objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
}
return $result;
}
- private function __construct() { }
+ /**
+ * Forbid creation of OptionUtil objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
}
return false;
}
- private function __construct() { }
+ /**
+ * Forbid creation of PasswordUtil objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
}
return [];
}
- private function __construct() { }
+ /**
+ * Forbid creation of StringStack objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
}
return $result;
}
- private function __construct() { }
+ /**
+ * Forbid creation of StringUtil objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
}
StyleCompiler::getInstance()->compileACP();
}
- private function __construct() { }
+ /**
+ * Forbid creation of StyleUtil objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
}
*/
final class UserRegistrationUtil {
/**
- * Disables creation of objects of this class.
+ * Forbid creation of StringUtil objects.
*/
- private function __construct() { }
+ private function __construct() {
+ // does nothing
+ }
/**
* Returns true if the given name is a valid username.
return mb_substr(FileUtil::unifyDirSeparator($REQUEST_URI), 0, 255);
}
- private function __construct() { }
+ /**
+ * Forbid creation of UserUtil objects.
+ */
+ private function __construct() {
+ // does nothing
+ }
}