* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-class NewsFactory extends BaseFactory {
+class WebNewsFactory extends BaseFactory {
/**
* Instance of a request class
*/
parent::__construct(__CLASS__);
// Set part description
- $this->setObjectDescription("News-Fabrik für Webseiten");
+ $this->setObjectDescription("Factory for webpages with news");
}
/**
* request
*
* @param $requestInstance An instance of a request class
- * @return $factoryInstance An instance of a NewsFactory class
+ * @return $factoryInstance An instance of a WebNewsFactory class
*/
public final static function createFactoryByRequest (Requestable $requestInstance) {
// Generate the new instance
- $factoryInstance = new NewsFactory();
+ $factoryInstance = new WebNewsFactory();
// Get the element name from configuration
$element = FrameworkConfiguration::getInstance()->readConfig('app_selector_get');