source/Application/Controller/Admin/DynamicExportBaseController.php
public function assureContent($sInput, $sReplace = null)
    {
        $oStr = getStr();
        if (!$oStr->strlen($sInput)) {
            if (!isset($sReplace) || !$oStr->strlen($sReplace)) {
                $sReplace = "-";
            }
            $sInput = $sReplace;
        }

        return $sInput;
    }
public function assureContent($sInput, $sReplace = null)
    {
        $oStr = getStr();
        if (!$oStr->strlen($sInput)) {
            if (!isset($sReplace) || !$oStr->strlen($sReplace)) {
                $sReplace = "-";
            }
            $sInput = $sReplace;
        }

        return $sInput;
    }
public function assureContent ( $ sInput , $ sReplace = null ) { $ oStr = getStr ( ) ; if ( ! $ oStr -> strlen ( $ sInput ) ) { if ( ! isset ( $ sReplace ) || ! $ oStr -> strlen ( $ sReplace ) ) { $ sReplace = "-" ; } $ sInput = $ sReplace ; } return $ sInput ; }
Make sure that string is never empty.

@param string $sInput   string that will be replaced
@param string $sReplace string that will replace

@return string
Make sure that string is never empty .