*/
class UserEditForm extends UserAddForm {
/**
- * @see UserAddForm::$menuItemName
+ * @see wcf\acp\form\UserAddForm::$menuItemName
*/
public $menuItemName = 'wcf.acp.menu.link.user.management';
}
/**
- * @see UserAddForm::validateUsername()
+ * @see wcf\acp\form\UserAddForm::validateUsername()
*/
protected function validateUsername($username) {
if (StringUtil::toLowerCase($this->user->username) != StringUtil::toLowerCase($username)) {
}
/**
- * @see UserAddForm::validateEmail()
+ * @see wcf\acp\form\UserAddForm::validateEmail()
*/
protected function validateEmail($email, $confirmEmail) {
if (StringUtil::toLowerCase($this->user->email) != StringUtil::toLowerCase($email)) {
}
/**
- * @see UserAddForm::validatePassword()
+ * @see wcf\acp\form\UserAddForm::validatePassword()
*/
protected function validatePassword($password, $confirmPassword) {
if (!empty($password) || !empty($confirmPassword)) {
public $menuItemName = 'wcf.acp.menu.link.group.add';
/**
- * @see AbstractOptionListForm::$cacheName
+ * @see wcf\acp\form\AbstractOptionListForm::$cacheName
*/
public $cacheName = 'user_group-option-';
}
/**
- * @see AbstractOptionListForm::getTypeObject()
+ * @see wcf\acp\form\AbstractOptionListForm::getTypeObject()
*/
protected function getTypeObject($type) {
if (!isset($this->typeObjects[$type])) {
*/
class UserGroupEditForm extends UserGroupAddForm {
/**
- * @see UserGroupAddForm::$menuItemName
+ * @see wcf\acp\form\UserGroupAddForm::$menuItemName
*/
public $menuItemName = 'wcf.acp.menu.link.group';
}
/**
- * @see DatabaseObject::__get()
+ * @see wcf\data\DatabaseObject::__get()
*/
public function __get($name) {
return $this->object->__get($name);
}
/**
- * @see DatabaseObject::__isset()
+ * @see wcf\data\DatabaseObject::__isset()
*/
public function __isset($name) {
return $this->object->__isset($name);
*/
class ACPSessionDataList extends DatabaseObjectList {
/**
- * @see DatabaseObjectList::$className
+ * @see wcf\data\DatabaseObjectList::$className
*/
public $className = 'wcf\data\acp\session\data\ACPSessionData';
}
}
/**
- * @see Language::loadCategory()
+ * @see wcf\data\language\Language::loadCategory()
*/
protected function loadCategory($category) {
return false;
*/
class UserOptionCategoryEditor extends DatabaseObjectEditor {
/**
- * @see UserOptionCategory::$baseClass
+ * @see wcf\data\user\option\category\UserOptionCategory::$baseClass
*/
protected static $baseClass = 'wcf\data\user\option\category\UserOptionCategory';
}
/**
- * @see WCF::__callStatic()
+ * @see wcf\system\WCF::__callStatic()
*/
public final function __call($name, array $arguments) {
// bug fix to avoid php crash, see http://bugs.php.net/bug.php?id=55020
}
/**
- * @see WCF::assignDefaultTemplateVariables()
+ * @see wcf\system\WCF::assignDefaultTemplateVariables()
*/
protected function assignDefaultTemplateVariables() {
parent::assignDefaultTemplateVariables();
*/
class UserAuthDefault extends UserAuth {
/**
- * @see UserAuth::supportsPersistentLogins()
+ * @see wcf\system\auth\UserAuth::supportsPersistentLogins()
*/
public function supportsPersistentLogins() {
return true;
}
/**
- * @see UserAuth::loginManually()
+ * @see wcf\system\auth\UserAuth::loginManually()
*/
public function loginManually($username, $password, $userClassname = 'wcf\data\user\User') {
$user = User::getUserByUsername($username);
}
/**
- * @see UserAuth::storeAccessData()
+ * @see wcf\system\auth\UserAuth::storeAccessData()
*/
public function storeAccessData(User $user, $username, $password) {
HeaderUtil::setCookie('userID', $user->userID, TIME_NOW + 365 * 24 * 3600);
}
/**
- * @see UserAuth::loginAutomatically()
+ * @see wcf\system\auth\UserAuth::loginAutomatically()
*/
public function loginAutomatically($persistent = false, $userClassname = 'wcf\data\user\User') {
if (!$persistent) return null;
*/
class MySQLDatabase extends Database {
/**
- * @see Database::$editorClassName
+ * @see wcf\system\database\Database::$editorClassName
*/
protected $editorClassName = 'wcf\system\database\editor\MySQLDatabaseEditor';
/**
- * @see Database::connect()
+ * @see wcf\system\database\Database::connect()
*/
public function connect() {
if (!$this->port) $this->port = 3306; // mysql default port
}
/**
- * @see Database::isSupported()
+ * @see wcf\system\database\Database::isSupported()
*/
public static function isSupported() {
return (extension_loaded('PDO') && extension_loaded('pdo_mysql'));
}
/**
- * @see Database::handleLimitParameter()
+ * @see wcf\system\database\Database::handleLimitParameter()
*/
public function handleLimitParameter($query, $limit = 0, $offset = 0) {
if ($limit != 0) {
}
/**
- * @see PDODatabase::setAttributes()
+ * @see wcf\system\database\PDODatabase::setAttributes()
*/
protected function setAttributes() {
parent::setAttributes();
*/
class PostgreSQLDatabase extends Database {
/**
- * @see Database::$editorClassName
+ * @see wcf\system\database\Database::$editorClassName
*/
protected $editorClassName = 'wcf\system\database\editor\PostgreSQLDatabaseEditor';
/**
- * @see Database::connect()
+ * @see wcf\system\database\Database::connect()
*/
public function connect() {
if (!$this->port) $this->port = 5432; // postgresql default port
}
/**
- * @see Database::isSupported()
+ * @see wcf\system\database\Database::isSupported()
*/
public static function isSupported() {
return (extension_loaded('PDO') && extension_loaded('pdo_pgsql'));
}
/**
- * @see Database::prepareStatement()
+ * @see wcf\system\database\Database::prepareStatement()
*/
public function prepareStatement($statement, $limit = 0, $offset = 0) {
$statement = self::fixQuery($statement);
}
/**
- * @see Database::getInsertID()
+ * @see wcf\system\database\Database::getInsertID()
*/
public function getInsertID($table, $field) {
try {
}
/**
- * @see Database::escapeString()
+ * @see wcf\system\database\Database::escapeString()
*/
public function escapeString($string) {
$string = str_replace("\x00", "\\x00", $string); // escape nul bytes
*/
class MySQLDatabaseEditor extends DatabaseEditor {
/**
- * @see DatabaseEditor::getTableNames()
+ * @see wcf\system\database\editor\DatabaseEditor::getTableNames()
*/
public function getTableNames() {
$existingTables = array();
}
/**
- * @see DatabaseEditor::getColumns()
+ * @see wcf\system\database\editor\DatabaseEditor::getColumns()
*/
public function getColumns($tableName) {
$columns = array();
}
/**
- * @see DatabaseEditor::getIndices()
+ * @see wcf\system\database\editor\DatabaseEditor::getIndices()
*/
public function getIndices($tableName) {
$indices = array();
}
/**
- * @see DatabaseEditor::createTable()
+ * @see wcf\system\database\editor\DatabaseEditor::createTable()
*/
public function createTable($tableName, $columns, $indices = array()) {
$columnDefinition = $indexDefinition = '';
}
/**
- * @see DatabaseEditor::dropTable()
+ * @see wcf\system\database\editor\DatabaseEditor::dropTable()
*/
public function dropTable($tableName) {
$sql = "DROP TABLE IF EXISTS ".$tableName;
}
/**
- * @see DatabaseEditor::addColumn()
+ * @see wcf\system\database\editor\DatabaseEditor::addColumn()
*/
public function addColumn($tableName, $columnName, $columnData) {
$sql = "ALTER TABLE ".$tableName." ADD COLUMN ".$this->buildColumnDefinition($columnName, $columnData);
}
/**
- * @see DatabaseEditor::alterColumn()
+ * @see wcf\system\database\editor\DatabaseEditor::alterColumn()
*/
public function alterColumn($tableName, $oldColumnName, $newColumnName, $newColumnData) {
$sql = "ALTER TABLE ".$tableName." CHANGE COLUMN ".$oldColumnName." ".$this->buildColumnDefinition($newColumnName, $newColumnData);
}
/**
- * @see DatabaseEditor::dropColumn()
+ * @see wcf\system\database\editor\DatabaseEditor::dropColumn()
*/
public function dropColumn($tableName, $columnName) {
$sql = "ALTER TABLE ".$tableName." DROP COLUMN ".$columnName;
}
/**
- * @see DatabaseEditor::addIndex()
+ * @see wcf\system\database\editor\DatabaseEditor::addIndex()
*/
public function addIndex($tableName, $indexName, $indexData) {
$sql = "ALTER TABLE ".$tableName." ADD ".$this->buildIndexDefinition($indexName, $indexData);
}
/**
- * @see DatabaseEditor::addIndex()
+ * @see wcf\system\database\editor\DatabaseEditor::addIndex()
*/
public function addForeignKey($tableName, $indexName, $indexData) {
$sql = "ALTER TABLE ".$tableName." ADD";
}
/**
- * @see DatabaseEditor::dropIndex()
+ * @see wcf\system\database\editor\DatabaseEditor::dropIndex()
*/
public function dropIndex($tableName, $indexName) {
$sql = "ALTER TABLE ".$tableName." DROP INDEX ".$indexName;
}
/**
- * @see DatabaseEditor::dropForeignKey()
+ * @see wcf\system\database\editor\DatabaseEditor::dropForeignKey()
*/
public function dropForeignKey($tableName, $indexName) {
$sql = "ALTER TABLE ".$tableName." DROP FOREIGN KEY ".$indexName;
*/
class PostgreSQLDatabaseEditor extends DatabaseEditor {
/**
- * @see DatabaseEditor::getTableNames()
+ * @see wcf\system\database\editor\DatabaseEditor::getTableNames()
*/
public function getTableNames() {
$existingTables = array();
}
/**
- * @see DatabaseEditor::getColumns()
+ * @see wcf\system\database\editor\DatabaseEditor::getColumns()
*/
public function getColumns($tableName) {
$columns = array();
}
/**
- * @see DatabaseEditor::getIndices()
+ * @see wcf\system\database\editor\DatabaseEditor::getIndices()
*/
public function getIndices($tableName) {
$indices = array();
}
/**
- * @see DatabaseEditor::createTable()
+ * @see wcf\system\database\editor\DatabaseEditor::createTable()
*/
public function createTable($tableName, $columns, $indices = array()) {
$columnDefinition = $indexDefinition = '';
}
/**
- * @see DatabaseEditor::dropTable()
+ * @see wcf\system\database\editor\DatabaseEditor::dropTable()
*/
public function dropTable($tableName) {
$sql = "DROP TABLE IF EXISTS ".$tableName." CASCADE";
}
/**
- * @see DatabaseEditor::addColumn()
+ * @see wcf\system\database\editor\DatabaseEditor::addColumn()
*/
public function addColumn($tableName, $columnName, $columnData) {
$sql = "ALTER TABLE ".$tableName." ADD COLUMN ".$this->buildColumnDefinition($columnName, $columnData);
}
/**
- * @see DatabaseEditor::alterColumn()
+ * @see wcf\system\database\editor\DatabaseEditor::alterColumn()
*/
public function alterColumn($tableName, $oldColumnName, $newColumnName, $newColumnData) {
// change column name if necessary
}
/**
- * @see DatabaseEditor::dropColumn()
+ * @see wcf\system\database\editor\DatabaseEditor::dropColumn()
*/
public function dropColumn($tableName, $columnName) {
$sql = "ALTER TABLE ".$tableName." DROP COLUMN ".$columnName." CASCADE";
}
/**
- * @see DatabaseEditor::addIndex()
+ * @see wcf\system\database\editor\DatabaseEditor::addIndex()
*/
public function addIndex($tableName, $indexName, $indexData) {
if ($indexData['type'] == 'FULLTEXT') {
}
/**
- * @see DatabaseEditor::addIndex()
+ * @see wcf\system\database\editor\DatabaseEditor::addIndex()
*/
public function addForeignKey($tableName, $indexName, $indexData) {
$sql = "ALTER TABLE ".$tableName." ADD";
}
/**
- * @see DatabaseEditor::dropIndex()
+ * @see wcf\system\database\editor\DatabaseEditor::dropIndex()
*/
public function dropIndex($tableName, $indexName) {
$sql = "DROP INDEX IF EXISTS ".$tableName."_".$indexName."_key CASCADE";
}
/**
- * @see DatabaseEditor::dropForeignKey()
+ * @see wcf\system\database\editor\DatabaseEditor::dropForeignKey()
*/
public function dropForeignKey($tableName, $indexName) {
// TODO: implement this function
}
/**
- * @see NamedUserException::show();
+ * @see wcf\system\exception\NamedUserException::show();
*/
public function show() {
@header('HTTP/1.0 404 Not Found');
*/
class PHPMailSender extends MailSender {
/**
- * @see MailSender::sendMail()
+ * @see wcf\system\mail\MailSender::sendMail()
*/
public function sendMail(Mail $mail) {
if (MAIL_USE_F_PARAM) return @mb_send_mail($mail->getToString(), $mail->getSubject(), $mail->getBody(), $mail->getHeader(), '-f'.MAIL_FROM_ADDRESS);
}
/**
- * @see MailSender::sendMail()
+ * @see wcf\system\mail\MailSender::sendMail()
*/
public function sendMail(Mail $mail) {
$this->recipients = array();
public $menuItems = null;
/**
- * @see SingletonFactory::init()
+ * @see wcf\system\SingletonFactory::init()
*/
protected function init() {
// get menu items from cache
*/
class ACPMenu extends TreeMenu {
/**
- * @see TreeMenu::loadCache()
+ * @see wcf\system\menu\TreeMenu::loadCache()
*/
protected function loadCache() {
parent::loadCache();
*/
class OptionTypePassword extends OptionTypeText {
/**
- * @see OptionTypeText::$inputType
+ * @see wcf\system\option\OptionTypeText::$inputType
*/
protected $inputType = 'password';
}
/**
- * @see PackageInstallationDispatcher::executePIP()
+ * @see wcf\system\package\PackageInstallationDispatcher::executePIP()
*/
protected function executePIP(array $nodeData) {
$pip = new $nodeData['className']($this);
*/
class SessionFactory extends ACPSessionFactory {
/**
- * @see ACPSessionFactory::$sessionEditor
+ * @see wcf\system\session\ACPSessionFactory::$sessionEditor
*/
protected $sessionEditor = 'wcf\data\session\SessionEditor';
/**
- * @see ACPSessionFactory::$sessionDataEditor
+ * @see wcf\system\session\ACPSessionFactory::$sessionDataEditor
*/
protected $sessionDataEditor = 'wcf\data\session\data\SessionDataEditor';
/**
- * @see ACPSessionFactory::readSessionID()
+ * @see wcf\system\session\ACPSessionFactory::readSessionID()
*/
protected function readSessionID() {
$sessionID = parent::readSessionID();
}
/**
- * @see ACPSessionFactory::init()
+ * @see wcf\system\session\ACPSessionFactory::init()
*/
protected function init() {
$usesCookies = true;
/**
* Checks the requested permission, throws a PermissionDeniedException
* if the permission is false.
- * @see SessionHandler::getPermission()
+ * @see wcf\system\session\SessionHandler::getPermission()
*/
public function checkPermission(array $permissions) {
foreach ($permissions as $permission) {
*/
class ACPTemplateEngine extends TemplateEngine {
/**
- * @see TemplateEngine::$environment
+ * @see wcf\system\template\TemplateEngine::$environment
*/
protected $environment = 'admin';
/**
- * @see TemplateEngine::__construct()
+ * @see wcf\system\template\TemplateEngine::__construct()
*/
protected function init() {
parent::init();
/**
* Template groups are not supported by acp template engine.
*
- * @see TemplateEngine::setTemplateGroupID()
+ * @see wcf\system\template\TemplateEngine::setTemplateGroupID()
*/
public final function setTemplateGroupID($templateGroupID) {
$this->templateGroupID = 0;
protected $templatePath = '';
/**
- * @see Template::setTemplatePaths()
+ * @see wcf\system\template\Template::setTemplatePaths()
*/
public function setTemplatePaths($templatePaths) {
if (is_array($templatePaths)) $this->templatePath = array_shift($templatePaths);
}
/**
- * @see Template::loadTemplateStructure()
+ * @see wcf\system\template\Template::loadTemplateStructure()
*/
protected function loadTemplateStructure() {}
/**
- * @see Template::getSourceFilename()
+ * @see wcf\system\template\Template::getSourceFilename()
*/
public function getSourceFilename($templateName, $packageID = 0) {
return $this->templatePath.TMP_FILE_PREFIX.$templateName.'.tpl';
}
/**
- * @see Template::getCompiledFilename()
+ * @see wcf\system\template\Template::getCompiledFilename()
*/
public function getCompiledFilename($templateName, $packageID = 0) {
return $this->compileDir.TMP_FILE_PREFIX.$this->languageID.'_'.$templateName.'.php';
}
/**
- * @see Template::getPluginFilename()
+ * @see wcf\system\template\Template::getPluginFilename()
*/
public function getPluginFilename($type, $tag) {
return $this->pluginDir.TMP_FILE_PREFIX.'TemplatePlugin'.StringUtil::firstCharToUpperCase(StringUtil::toLowerCase($type)).StringUtil::firstCharToUpperCase(StringUtil::toLowerCase($tag)).'.class.php';
}
/**
- * @see Template::getCompiler()
+ * @see wcf\system\template\Template::getCompiler()
*/
protected function getCompiler() {
return new TemplateCompiler($this);
*/
class SetupTemplateEngine extends TemplateEngine {
/**
- * @see TemplateEngine::loadTemplateGroupCache()
+ * @see wcf\system\template\TemplateEngine::loadTemplateGroupCache()
*/
protected function loadTemplateGroupCache() {}
/**
- * @see TemplateEngine::getSourceFilename()
+ * @see wcf\system\template\TemplateEngine::getSourceFilename()
*/
public function getSourceFilename($templateName, $packageID) {
return $this->templatePaths[PACKAGE_ID].'setup/template/'.$templateName.'.tpl';
}
/**
- * @see TemplateEngine::getCompiledFilename()
+ * @see wcf\system\template\TemplateEngine::getCompiledFilename()
*/
public function getCompiledFilename($templateName, $packageID) {
return $this->compileDir.'setup/template/compiled/'.$this->languageID.'_'.$templateName.'.php';
}
/**
- * @see TemplateEngine::getPackageID()
+ * @see wcf\system\template\TemplateEngine::getPackageID()
*/
public function getPackageID($templateName, $packageID) {
$path = $this->templatePaths[PACKAGE_ID].'setup/template/'.$templateName.'.tpl';
}
/**
- * @see TemplateEngine::getCompiler()
+ * @see wcf\system\template\TemplateEngine::getCompiler()
*/
protected function getCompiler() {
return new TemplateCompiler($this);
/**
* Creates a new instance of TemplateEngine.
*
- * @see TemplateEngine::getInstance()
+ * @see wcf\system\template\TemplateEngine::getInstance()
*/
protected function init() {
$this->templatePaths = array(1 => WCF_DIR.'templates/');
/**
* Executes StringUtil::encodeHTML on the given text if disableEncoding is false.
- * @see StringUtil::encodeHTML()
+ * @see wcf\util\StringUtil::encodeHTML()
*/
protected function encodeHTML($text) {
if (!$this->disableEncoding) {
* command will be run when either field matches the current time. -- crontab(5)
*
* @param array $values
- * @see CronjobUtil::getDom()
+ * @see wcf\util\CronjobUtil::getDom()
*/
protected static function calculateDay(array &$values) {
$addAnDay = self::calculateHour($values, self::$timeBase);
*
* @param string $directory directory path
* @param boolean $recursive created a recursive directory iterator
- * @see DirectoryUtil::getInstance()
+ * @see wcf\util\DirectoryUtil::getInstance()
*/
protected function __construct($directory, $recursive = true) {
$this->directory = $directory;
}
/**
- * @see DirectoryUtil::getInstance()
+ * @see wcf\util\DirectoryUtil::getInstance()
*/
private final function __clone() {}
/**
* Reads errors from libxml since be bypassed built-in error handler.
*
- * @see XML::__construct()
+ * @see wcf\util\XML::__construct()
* @return array<array>
*/
protected function pollErrors() {