dao->select('*')->from(TABLE_EXTENSION)->where('code')->like('bizext%')->andWhere('status')->eq('installed')->orderBy('version desc')->fetch(); $version = empty($bizext) ? $version : 'pro' . str_replace('.', '_', $bizext->version); ?>