public static function loadDateCell($sDate, $sNoData = '&mdash;')
    {
        $aData = [
            'date'   => $sDate,
            'noData' => $sNoData,
        ];

        $oView = Factory::service('View');
        return $oView->load('admin/_components/table-cell-date', $aData, true);
    }
public static function loadDateCell($sDate, $sNoData = '&mdash;')
    {
        $aData = [
            'date'   => $sDate,
            'noData' => $sNoData,
        ];

        $oView = Factory::service('View');
        return $oView->load('admin/_components/table-cell-date', $aData, true);
    }
public static function loadDateCell ( $ sDate , $ sNoData = '&mdash;' ) { $ aData = [ 'date' => $ sDate , 'noData' => $ sNoData , ] ; $ oView = Factory :: service ( 'View' ) ; return $ oView -> load ( 'admin/_components/table-cell-date' , $ aData , true ) ; }
Load the admin "date" table cell component

@param  string $sDate   The date to render
@param  string $sNoData What to render if the date is invalid or empty

@return string
@throws \Nails\Common\Exception\FactoryException
Load the admin date table cell component