// CFG: NEWS-READER-MAIN-CLASS
$cfg->setConfigEntry('news_reader_main_class', 'CoreFramework\Reader\News\Console\ConsoleNewsReader');
+
+// CFG: NEWS-MAIN-LIMIT
+$cfg->setConfigEntry('news_main_limit', 5);
// Get config instance
$cfg = FrameworkConfiguration::getSelfInstance();
+
+// This application needs a database connection then we have to simply include
+// the inc/database.php script
+require($cfg->getConfigEntry('base_path') . 'inc/database.php');
$cfg->setConfigEntry('stacker_current_node_max_size', 20);
// CFG: LOCAL-FILE-DATABASE-CLASS
-$cfg->setConfigEntry('local_file_database_class', 'CachedLocalFileDatabase');
+$cfg->setConfigEntry('local_file_database_class', 'CoreFramework\Database\Backend\Lfdb\CachedLocalFileDatabase');
// CFG: COMPRESSOR-CHANNEL-CLASS
$cfg->setConfigEntry('compressor_channel_class', 'CompressorChannel');
use CoreFramework\Configuration\FrameworkConfiguration;
use CoreFramework\Controller\Controller;
use CoreFramework\Criteria\Criteria;
+use CoreFramework\Criteria\Local\LocalSearchCriteria;
use CoreFramework\Factory\Database\Wrapper\DatabaseWrapperFactory;
use CoreFramework\Factory\ObjectFactory;
use CoreFramework\Generic\FrameworkInterface;
// Import framework stuff
use CoreFramework\Criteria\BaseCriteria;
+use CoreFramework\Criteria\Storing\StoreableCriteria;
/**
* A set of data storeable in databases
// Import framework stuff
use CoreFramework\Criteria\BaseCriteria;
+use CoreFramework\Criteria\Local\LocalSearchCriteria;
/**
* Search criteria for e.g. searching in databases. Do not use this class if
// Import framework stuff
use CoreFramework\Criteria\Criteria;
+use CoreFramework\Criteria\Local\LocalSearchCriteria;
+use CoreFramework\Criteria\Storing\StoreableCriteria;
+use CoreFramework\Database\Backend\BaseDatabaseBackend;
+use CoreFramework\Database\Backend\DatabaseBackend;
use CoreFramework\Factory\ObjectFactory;
use CoreFramework\Generic\FrameworkException;
namespace CoreFramework\Database\Backend;
// Import framework stuff
+use CoreFramework\Database\Backend\DatabaseBackend;
use CoreFramework\Generic\FrameworkException;
use CoreFramework\Object\BaseFrameworkSystem;
/**
* A general class for database results
*
- * @see DatabaseBackendInterface - An interface for database backends
+ * @see DatabaseBackend - An interface for database backends
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
// Import framework stuff
use CoreFramework\Criteria\Criteria;
+use CoreFramework\Criteria\Storing\StoreableCriteria;
+use CoreFramework\Database\Backend\BaseDatabaseBackend;
use CoreFramework\Factory\ObjectFactory;
use CoreFramework\Object\BaseFrameworkSystem;
namespace CoreFramework\Database\Result;
// Import framework stuff
+use CoreFramework\Criteria\Local\LocalSearchCriteria;
+use CoreFramework\Criteria\Storing\StoreableCriteria;
+use CoreFramework\Database\Backend\BaseDatabaseBackend;
use CoreFramework\Request\Requestable;
/**
namespace CoreFramework\Handler;
// Import framework stuff
+use CoreFramework\Criteria\Storing\StoreableCriteria;
use CoreFramework\Object\BaseFrameworkSystem;
/**
namespace CoreFramework\User\Point;
// Import framework stuff
+use CoreFramework\Criteria\Storing\StoreableCriteria;
use CoreFramework\Factory\Database\Wrapper\DatabaseWrapperFactory;
use CoreFramework\Factory\ObjectFactory;
use CoreFramework\Object\BaseFrameworkSystem;
namespace CoreFramework\Criteria;
// Import framework stuff
+use CoreFramework\Criteria\Storing\StoreableCriteria;
use CoreFramework\Generic\FrameworkInterface;
use CoreFramework\Request\Requestable;
<?php
// Own namespace
-namespace CoreFramework\Criteria;
+namespace CoreFramework\Criteria\Storing;
// Import framework stuff
use CoreFramework\Criteria\Criteria;
// Own namespace
namespace CoreFramework\Database\Backend;
+// Import framework stuff
+use CoreFramework\Criteria\Local\LocalSearchCriteria;
+use CoreFramework\Criteria\Storing\StoreableCriteria;
+use CoreFramework\Database\FrameworkDatabase;
+
/**
* An interface for front-end database classes. The classes should prepare the
* objects for saving in the database. So for server-bases database classes SQL
// Import framework stuff
use CoreFramework\Criteria\Criteria;
+use CoreFramework\Criteria\Storing\StoreableCriteria;
+use CoreFramework\Database\Backend\DatabaseBackend;
+use CoreFramework\Database\FrameworkDatabase;
/**
* An interface for middleware database classes
// Own namespace
namespace CoreFramework\Handler\DataSet;
+// Import framework stuff
+use CoreFramework\Criteria\Storing\StoreableCriteria;
+
/**
* An interface for data set handlers
*
namespace CoreFramework\Database\Result;
// Import framework stuff
+use CoreFramework\Criteria\Local\LocalSearchCriteria;
use CoreFramework\Generic\FrameworkInterface;
/**
// Import framework stuff
use CoreFramework\Criteria\Criteria;
+use CoreFramework\Criteria\Storing\StoreableCriteria;
+use CoreFramework\Database\Backend\DatabaseBackend;
use CoreFramework\Registry\Registerable;
use CoreFramework\Middleware\BaseMiddleware;
use CoreFramework\Middleware\Debug\DebugMiddleware;