system/sql/DATA_SYSTEM_CRON.php

40 lines
1.2 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_CRON Class provided by System to install the System crons to the Database
*/
class DATA_SYSTEM_CRON extends \SYSTEM\DB\QI {
/**
* Get Classname of the QQ
*
* @return string Returns classname
*/
public static function get_class(){return \get_class(self);}
/**
* 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_cron.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_cron.sql'))->SERVERPATH());}
}