1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/15289] Add acp module

PHPBB3-15289
This commit is contained in:
Rubén Calvo
2017-07-25 10:29:13 +02:00
parent 944f9bf54e
commit ba9f082bf4
5 changed files with 225 additions and 1 deletions

View File

@@ -45,6 +45,21 @@ class storage
$this->storage_name = $storage_name;
}
public function get_id()
{
return $this->storage_name;
}
public function get_name()
{
return strtoupper('STORAGE_' . $this->storage_name . '_NAME');
}
public function get_description()
{
return strtoupper('STORAGE_' . $this->storage_name . '_DESCRIPTION');
}
/**
* Returns an adapter instance
*