40 lines
1.1 KiB
PHP
40 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* System - PHP Framework
|
|
*
|
|
* PHP Version 5.6
|
|
*
|
|
* @copyright 2016 Ulf Gebhardt (http://www.webcraft-media.de)
|
|
* @license http://www.opensource.org/licenses/mit-license.php MIT
|
|
* @link https://github.com/webcraftmedia/system
|
|
* @package SYSTEM\SQL
|
|
*/
|
|
namespace SYSTEM\SQL;
|
|
|
|
/**
|
|
* DATA_SYSTEM_PAGE Class provided by System to install the System pages to the Database
|
|
*/
|
|
class DATA_SYSTEM_PAGE extends \SYSTEM\DB\QI {
|
|
/**
|
|
* Get Classname of the QQ
|
|
*
|
|
* @return string Returns classname
|
|
*/
|
|
public static function get_class(){return \get_class();}
|
|
|
|
/**
|
|
* Get paths of PostgreSQL compatible sql files
|
|
*
|
|
* @return array Returns paths of PostgreSQL compatible sql files
|
|
*/
|
|
public static function files_pgsql(){
|
|
return array( (new \SYSTEM\PSQL('/pgsql/data/system_page.sql'))->SERVERPATH());}
|
|
|
|
/**
|
|
* Get paths of MYSQL compatible sql files
|
|
*
|
|
* @return array Returns paths of MYSQL compatible sql files
|
|
*/
|
|
public static function files_mysql(){
|
|
return array( (new \SYSTEM\PSQL('/mysql/data/system_page.sql'))->SERVERPATH());}
|
|
} |