public function getStatus()
    {
        $published = $this->isPublished() ? _t('News.IsPublished', 'published') : _t('News.IsUnpublished', 'not published');
        if ($this->isPublished() && $this->PublishFrom > SS_Datetime::now()->Rfc2822()) {
            $published = _t('News.InQueue', 'Awaiting publishdate');
        }

        return $published;
    }
public function getStatus()
    {
        $published = $this->isPublished() ? _t('News.IsPublished', 'published') : _t('News.IsUnpublished', 'not published');
        if ($this->isPublished() && $this->PublishFrom > SS_Datetime::now()->Rfc2822()) {
            $published = _t('News.InQueue', 'Awaiting publishdate');
        }

        return $published;
    }
public function getStatus ( ) { $ published = $ this -> isPublished ( ) ? _t ( 'News.IsPublished' , 'published' ) : _t ( 'News.IsUnpublished' , 'not published' ) ; if ( $ this -> isPublished ( ) && $ this -> PublishFrom > SS_Datetime :: now ( ) -> Rfc2822 ( ) ) { $ published = _t ( 'News.InQueue' , 'Awaiting publishdate' ) ; } return $ published ; }
Returns if the news item is published or not

@return string
Returns if the news item is published or not