/**
  * Load an AuthenticationType from an array.
  *
  * @param array $arr should be an array of the following key/value pairs to create an object from:
  * <pre>
  * array(
  *     'authTypeID' => int,
  *     'authTypeHandle' => string,
  *     'authTypeName' => string,
  *     'authTypeDisplayOrder' => int,
  *     'authTypeIsEnabled' => tinyint,
  *     'pkgID' => int
  * )
  * </pre>
  *
  * @return bool|\Concrete\Core\Authentication\AuthenticationType
  */
 public static function load($arr)
 {
     $extract = array('authTypeID', 'authTypeName', 'authTypeHandle', 'authTypeDisplayOrder', 'authTypeIsEnabled', 'pkgID');
     $obj = new self();
     foreach ($extract as $key) {
         if (!isset($arr[$key])) {
             return false;
         }
         $obj->{$key} = $arr[$key];
     }
     $obj->loadController();
     return $obj;
 }