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);
    }
  }
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);
    }
  }
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 ) ; } }
Moves a client to another channel.

@param  integer $clid
@param  integer $cid
@param  string  $cpw
@return void
Moves a client to another channel .