protected function check4details($id)
    {
        $objC4D = \Database::getInstance()->prepare("SELECT count(`id`)  AS num
                                                     FROM `tl_dlstatdets`
                                                     WHERE `pid`=?")
                                          ->execute($id);
        return $objC4D->num;
    }
protected function check4details($id)
    {
        $objC4D = \Database::getInstance()->prepare("SELECT count(`id`)  AS num
                                                     FROM `tl_dlstatdets`
                                                     WHERE `pid`=?")
                                          ->execute($id);
        return $objC4D->num;
    }
protected function check4details ( $ id ) { $ objC4D = \ Database :: getInstance ( ) -> prepare ( "SELECT count(`id`)  AS num
                                                     FROM `tl_dlstatdets`
                                                     WHERE `pid`=?" ) -> execute ( $ id ) ; return $ objC4D -> num ; }
Get Number of Logged Details
@param number $id    pid of file
@return number
Get Number of Logged Details