Пример #1
0
function _pear_echo_message($message)
{
    $t = '';
    foreach (explode("\n", $message) as $longline) {
        foreach (explode("\n", wordwrap($longline, 62)) as $line) {
            if ($line = trim($line)) {
                $t .= pake_format_action('pear', $line);
            }
        }
    }
    return $t;
}
Пример #2
0
function pake_echo_action($section, $text)
{
    echo pake_format_action($section, $text);
}
Пример #3
0
function pake_echo_action($section, $text)
{
    if (pakeApp::get_instance()->get_verbose()) {
        pake_echo(pake_format_action($section, $text));
    }
}