openrat-cms

# OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs

ModelBase.class.php (476B)


      1 <?php
      2 namespace cms\model;
      3 
      4 abstract class ModelBase
      5 {
      6     /*
      7     protected function setDatabaseRow( $row )
      8     {
      9         
     10     }
     11     */
     12 
     13     public function __construct()
     14     {
     15     }
     16 
     17     /**
     18      * All public properties of this object.
     19      * @return array
     20      */
     21     public function getProperties()
     22     {
     23         return get_object_vars( $this );
     24     }
     25 
     26     public abstract function getName();
     27 
     28     public abstract function load();
     29 
     30     public abstract function delete();
     31 }