classes/phing/tasks/ext/NotifySendTask.php
public function setIcon($icon)
    {
        switch ($icon) {
            case 'info':
            case 'error':
            case 'warning':
                $this->icon = $icon;
                break;
            default:
                if (file_exists($icon) && is_file($icon)) {
                    $this->icon = $icon;
                } else {
                    if (isset($this->log)) {
                        $this->log(
                            sprintf(
                                "%s is not a file. Using default icon instead.",
                                $icon
                            ),
                            Project::MSG_WARN
                        );
                    }
                }
        }
    }
public function setIcon($icon)
    {
        switch ($icon) {
            case 'info':
            case 'error':
            case 'warning':
                $this->icon = $icon;
                break;
            default:
                if (file_exists($icon) && is_file($icon)) {
                    $this->icon = $icon;
                } else {
                    if (isset($this->log)) {
                        $this->log(
                            sprintf(
                                "%s is not a file. Using default icon instead.",
                                $icon
                            ),
                            Project::MSG_WARN
                        );
                    }
                }
        }
    }
public function setIcon ( $ icon ) { switch ( $ icon ) { case 'info' : case 'error' : case 'warning' : $ this -> icon = $ icon ; break ; default : if ( file_exists ( $ icon ) && is_file ( $ icon ) ) { $ this -> icon = $ icon ; } else { if ( isset ( $ this -> log ) ) { $ this -> log ( sprintf ( "%s is not a file. Using default icon instead." , $ icon ) , Project :: MSG_WARN ) ; } } } }
Set icon attribute

@param string $icon name/location of icon

@return void
Set icon attribute