Example #1
0
 public function __construct(IEntity $oRecordObject)
 {
     /*
      * @Todo: Inject logged in user too. Think about it.
      */
     if ($this->oDatabaseConnection == NULL) {
         $this->oDatabaseConnection = new DatabaseOps();
     }
     $this->oRecord = $oRecordObject;
     $this->aRecordProperties = $oRecordObject->getAllProperties();
 }