* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerDesigns {
- /** @access protected */
- var $designs;
+ protected $designs;
/**
* @param array URL in key, name in value
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerDumpBz2 {
- /** @access protected */
- var $filename, $fp;
+ protected $filename, $fp;
function dumpOutput() {
if (!function_exists('bzopen')) {
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerDumpJson {
- /** @access protected */
- var $database = false;
+ protected $database = false;
function dumpFormat() {
return array('json' => 'JSON');
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerDumpPhp {
- var $output = array();
- var $shutdown_callback = false;
+ protected $output = array();
+ protected $shutdown_callback = false;
function dumpFormat() {
return array('php' => 'PHP');
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerDumpXml {
- /** @access protected */
- var $database = false;
+ protected $database = false;
function dumpFormat() {
return array('xml' => 'XML');
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerDumpZip {
- /** @access protected */
- var $filename, $data;
+ protected $filename, $data;
function dumpOutput() {
if (!class_exists('ZipArchive')) {
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerEditCalendar {
- /** @access protected */
- var $prepend, $langPath;
+ protected $prepend, $langPath;
/**
* @param string text to append before first calendar usage
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerEditForeign {
- var $_limit;
+ protected $limit;
function __construct($limit = 0) {
- $this->_limit = $limit;
+ $this->limit = $limit;
}
function editInput($table, $field, $attrs, $value) {
if (preg_match('~binary~', $field["type"])) {
$column = "HEX($column)";
}
- $options = array("" => "") + Adminer\get_vals("SELECT $column FROM " . Adminer\table($target) . " ORDER BY 1" . ($this->_limit ? " LIMIT " . ($this->_limit + 1) : ""));
- if ($this->_limit && count($options) - 1 > $this->_limit) {
+ $options = array("" => "") + Adminer\get_vals("SELECT $column FROM " . Adminer\table($target) . " ORDER BY 1" . ($this->limit ? " LIMIT " . ($this->limit + 1) : ""));
+ if ($this->limit && count($options) - 1 > $this->limit) {
return;
}
}
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerEmailTable {
- /** @access protected */
- var $table, $id, $title, $subject, $message;
+ protected $table, $id, $title, $subject, $message;
/**
* @param string quoted table name
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerFileUpload {
- /** @access protected */
- var $uploadPath, $displayPath, $extensions;
+ protected $uploadPath, $displayPath, $extensions;
/**
* @param string prefix for uploading data (create writable subdirectory for each table containing uploadable fields)
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerFrames {
- /** @access protected */
- var $sameOrigin;
+ protected $sameOrigin;
/**
* @param bool allow running from the same origin only
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerLoginIp {
- /** @access protected */
- var $ips;
- /** @access protected */
- var $forwarded_for;
+ protected $ips, $forwarded_for;
/** Set allowed IP addresses
* @param array IP address prefixes
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerLoginOtp {
- /** @access protected */
- var $secret;
+ protected $secret;
/**
* @param string decoded secret, e.g. base64_decode("SECRET")
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerLoginPasswordLess {
- /** @access protected */
- var $password_hash;
+ protected $password_hash;
/** Set allowed password
* @param string result of password_hash
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerLoginServers {
- /** @access protected */
- var $servers;
+ protected $servers;
/** Set supported servers
* @param array [$description => ["server" => , "driver" => "server|pgsql|sqlite|..."]]
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerLoginSsl {
- /** @access protected */
- var $ssl;
+ protected $ssl;
/**
* @param array
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerLoginTable {
- /** @access protected */
- var $database;
+ protected $database;
/** Set database of login table
* @param string
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerPlugin extends Adminer\Adminer {
- /** @access protected */
- var $plugins;
+ protected $plugins;
/** Register plugins
* @param array object instances or null to register all classes starting by 'Adminer'
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerSlugify {
- /** @access protected */
- var $from, $to;
+ protected $from, $to;
/**
* @param string find these characters ...
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerSqlLog {
- /** @access protected */
- var $filename;
+ protected $filename;
/**
* @param string defaults to "$database.sql"
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerTinymce {
- /** @access protected */
- var $path;
+ protected $path;
/**
* @param string
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerWymeditor {
- /** @access protected */
- var $scripts, $options;
+ protected $scripts, $options;
/**
* @param array