original_string: public function clientMove($clid, $cid, $cpw = null)
    {
      $this->clientListReset();
  
      $this->execute("clientmove", array("clid" => $clid, "cid" => $cid, "cpw" => $cpw));
  
      if($clid instanceof Node)
      {
        $clid = $clid->getId();
      }
  
      if($cid instanceof Node)
      {
        $cid = $cid->getId();
      }
  
      if(!is_array($clid) && $clid == $this->whoamiGet("client_id"))
      {
        $this->getParent()->whoamiSet("client_channel_id", $cid);
      }
    }
code: public function clientMove($clid, $cid, $cpw = null)
    {
      $this->clientListReset();
  
      $this->execute("clientmove", array("clid" => $clid, "cid" => $cid, "cpw" => $cpw));
  
      if($clid instanceof Node)
      {
        $clid = $clid->getId();
      }
  
      if($cid instanceof Node)
      {
        $cid = $cid->getId();
      }
  
      if(!is_array($clid) && $clid == $this->whoamiGet("client_id"))
      {
        $this->getParent()->whoamiSet("client_channel_id", $cid);
      }
    }
code_tokens: public function clientMove ( $ clid , $ cid , $ cpw = null ) { $ this -> clientListReset ( ) ; $ this -> execute ( "clientmove" , array ( "clid" => $ clid , "cid" => $ cid , "cpw" => $ cpw ) ) ; if ( $ clid instanceof Node ) { $ clid = $ clid -> getId ( ) ; } if ( $ cid instanceof Node ) { $ cid = $ cid -> getId ( ) ; } if ( ! is_array ( $ clid ) && $ clid == $ this -> whoamiGet ( "client_id" ) ) { $ this -> getParent ( ) -> whoamiSet ( "client_channel_id" , $ cid ) ; } }
docstring: Moves a client to another channel.
  
  @param  integer $clid
  @param  integer $cid
  @param  string  $cpw
  @return void
docstring_tokens: Moves a client to another channel .