protected function setUserInfo($user, $password = null)
    {
        $this->userInfo = $user . ((null !== $password) ? (':' . $password) : '');
    }
protected function setUserInfo($user, $password = null)
    {
        $this->userInfo = $user . ((null !== $password) ? (':' . $password) : '');
    }
protected function setUserInfo ( $ user , $ password = null ) { $ this -> userInfo = $ user . ( ( null !== $ password ) ? ( ':' . $ password ) : '' ) ; }
Setter for userInfo.

@param string      $user     User to set.
@param null|string $password Password to set.

@author Benjamin Carl <opensource@clickalicious.de>
@return void
@access protected
Setter for userInfo .