public static function getByEmail($email) { return (array) BackendModel::getContainer()->get('database')->getRecord('SELECT p.id, p.email, p.status, p.display_name, p.url FROM profiles AS p WHERE p.email = ?', (string) $email); }