]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/factories/web/class_WebNewsFactory.php
Several clean ups
[shipsimu.git] / inc / classes / main / factories / web / class_WebNewsFactory.php
index 032f3ceb8f0b830ac3e0f04ce58bae170fabb370..5a604a77981b4af97d7efde20dbc83634bf9c85b 100644 (file)
@@ -21,7 +21,7 @@
  * 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
         */
@@ -37,7 +37,7 @@ class NewsFactory extends BaseFactory {
                parent::__construct(__CLASS__);
 
                // Set part description
-               $this->setObjectDescription("News-Fabrik f&uuml;r Webseiten");
+               $this->setObjectDescription("Factory for webpages with news");
        }
 
        /**
@@ -45,11 +45,11 @@ class NewsFactory extends BaseFactory {
         * 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');