classes/DcaBanner.php
public function listBanner($row)
    {
        switch ($row['banner_type'])
        {
            case self::BANNER_TYPE_INTERN :
                return $this->listBannerInternal($row);
                break;
            case self::BANNER_TYPE_EXTERN :
                return $this->listBannerExternal($row);
                break;
            case self::BANNER_TYPE_TEXT :
                return $this->listBannerText($row);
                break;
            default :
                return false;
                break;
        }
    }
public function listBanner($row)
    {
        switch ($row['banner_type'])
        {
            case self::BANNER_TYPE_INTERN :
                return $this->listBannerInternal($row);
                break;
            case self::BANNER_TYPE_EXTERN :
                return $this->listBannerExternal($row);
                break;
            case self::BANNER_TYPE_TEXT :
                return $this->listBannerText($row);
                break;
            default :
                return false;
                break;
        }
    }
public function listBanner ( $ row ) { switch ( $ row [ 'banner_type' ] ) { case self :: BANNER_TYPE_INTERN : return $ this -> listBannerInternal ( $ row ) ; break ; case self :: BANNER_TYPE_EXTERN : return $ this -> listBannerExternal ( $ row ) ; break ; case self :: BANNER_TYPE_TEXT : return $ this -> listBannerText ( $ row ) ; break ; default : return false ; break ; } }
List banner record

@param object $row
List banner record