Beispiel #1
0
 /**
  * Generate dropdown select box options for sources.
  *
  * @return array
  */
 public static function getSourceSelect()
 {
     return \DF\Utilities::ipull(self::getSourceInfo(), 'name');
 }
Beispiel #2
0
 public static function getHashes()
 {
     $em = self::getEntityManager();
     $ids_raw = $em->createQuery('SELECT sebt.id, sebt.hash FROM ' . __CLASS__ . ' sebt')->getArrayResult();
     return \DF\Utilities::ipull($ids_raw, 'id', 'hash');
 }