src/sb/XMPP/Client.php
public function setStatus($status=null)
    {

        $presence = new \sb\XMPP\Presence();
        $presence->setStatus(is_string($status) ? $status : $this->status);

        $this->sendPresence($presence);
    }
public function setStatus($status=null)
    {

        $presence = new \sb\XMPP\Presence();
        $presence->setStatus(is_string($status) ? $status : $this->status);

        $this->sendPresence($presence);
    }
public function setStatus ( $ status = null ) { $ presence = new \ sb \ XMPP \ Presence ( ) ; $ presence -> setStatus ( is_string ( $ status ) ? $ status : $ this -> status ) ; $ this -> sendPresence ( $ presence ) ; }
Sets status message
@param string $status The status message to send
Sets status message