Example #1
0
 public function __construct(array $dataRow = [])
 {
     if (!isset($this->propertyDbMap[$this->authUsernameProperty])) {
         throw new ModelException(sprintf('The username property %s must be defined in the propertyDbMap.', $this->authUsernameProperty));
     }
     if (!isset($this->propertyDbMap[$this->authPasswordProperty])) {
         throw new ModelException(sprintf('The password property %s must be defined in the propertyDbMap.', $this->authPasswordProperty));
     }
     parent::__construct($dataRow);
 }