Example #1
0
 /**
  * Private function to quickly check if we have said item.
  *
  * @param $column
  *
  * @param $value
  *
  * @return bool
  */
 private function HasItem($column, $value)
 {
     $result = $this->database->Where([$column => $value]);
     if (empty($result) == true) {
         return false;
     }
     return true;
 }