properties; } /** * Sets the export plugins properties and is implemented by * each schema export plugin * * @return void */ protected abstract function setProperties(); /** * Exports the schema into the specified format. * * @param string $db database name * * @return bool Whether it succeeded */ public abstract function exportSchema($db); /** * Adds export options common to all plugins. * * @param \PhpMyAdmin\Properties\Options\Groups\OptionsPropertyMainGroup $propertyGroup property group * * @return void */ protected function addCommonOptions(OptionsPropertyMainGroup $propertyGroup) { $leaf = new BoolPropertyItem('show_color', __('Show color')); $propertyGroup->addProperty($leaf); $leaf = new BoolPropertyItem('show_keys', __('Only show keys')); $propertyGroup->addProperty($leaf); } /** * Returns the array of paper sizes * * @return array array of paper sizes */ protected function getPaperSizeArray() { $ret = array(); foreach ($GLOBALS['cfg']['PDFPageSizes'] as $val) { $ret[$val] = $val; } return $ret; } }