/**
  * @param \Nethgui\System\PlatformInterface $platform
  * @param string $text
  * @param string $where
  * @return \self
  */
 public static function search(\Nethgui\System\PlatformInterface $platform, $text = '', $where = array(), $translator = NULL)
 {
     $o = new self();
     $o->translator = $translator;
     if (isset($where['ROLES'])) {
         $o->addSearchRoles($platform, $text);
         unset($where['ROLES']);
     }
     $o->addSearchInDb($platform, $text, $where);
     return $o;
 }