public function getSuccessContent()
    {
        if (!empty($this->owner->SuccessMessage)) {
            return $this->owner->dbObject('SuccessMessage');
        } else {
            return SiteConfig::current_site_config()->dbObject('SuccessMessage');
        }
    }
public function getSuccessContent()
    {
        if (!empty($this->owner->SuccessMessage)) {
            return $this->owner->dbObject('SuccessMessage');
        } else {
            return SiteConfig::current_site_config()->dbObject('SuccessMessage');
        }
    }
public function getSuccessContent ( ) { if ( ! empty ( $ this -> owner -> SuccessMessage ) ) { return $ this -> owner -> dbObject ( 'SuccessMessage' ) ; } else { return SiteConfig :: current_site_config ( ) -> dbObject ( 'SuccessMessage' ) ; } }
Get the success message

@return mixed|string
Get the success message