fetch(PDO::FETCH_ASSOC)) { $profile=new sql_gentoo_profile($profile); $display=$profile->name?$profile->name:($profile->pkgdir?$profile->pkgdir:'/'); $opts[$profile->id]=$display; } $this->select('profile', 'profile', 'Profile', $opts); ?>