Ejemplo n.º 1
0
 public static function getTitleFromHash($pParamHash = NULL, $pContentId = NULL)
 {
     $ret = NULL;
     if (@BitBase::verifyId($pContentId)) {
         global $gBitDb;
         $ret = $gBitDb->getOne("SELECT lc.`title` FROM `" . BIT_DB_PREFIX . "liberty_content` lc WHERE lc.`content_id` = ? AND lc.`content_type_guid` = ?", array($pContentId, 'bitgroup'));
     } else {
         $ret = parent::getTitle($pParamHash);
     }
     return $ret;
 }