public function tempPasswordList($resolve = false)
    {
        $passwords = $this->request("servertemppasswordlist")->toAssocArray("pw_clear");

        if ($resolve) {
            foreach ($passwords as $password => $array) {
                try {
                    $channel = $this->channelGetById($array["tcid"]);

                    $passwords[$password]["tcname"] = $channel->toString();
                    $passwords[$password]["tcpath"] = $channel->getPathway();
                } catch (Ts3Exception $e) {
                    /* ERROR_channel_invalid_id */
                    if ($e->getCode() != 0xA00) {
                        throw $e;
                    }
                }
            }
        }

        return $passwords;
    }
public function tempPasswordList($resolve = false)
    {
        $passwords = $this->request("servertemppasswordlist")->toAssocArray("pw_clear");

        if ($resolve) {
            foreach ($passwords as $password => $array) {
                try {
                    $channel = $this->channelGetById($array["tcid"]);

                    $passwords[$password]["tcname"] = $channel->toString();
                    $passwords[$password]["tcpath"] = $channel->getPathway();
                } catch (Ts3Exception $e) {
                    /* ERROR_channel_invalid_id */
                    if ($e->getCode() != 0xA00) {
                        throw $e;
                    }
                }
            }
        }

        return $passwords;
    }
public function tempPasswordList ( $ resolve = false ) { $ passwords = $ this -> request ( "servertemppasswordlist" ) -> toAssocArray ( "pw_clear" ) ; if ( $ resolve ) { foreach ( $ passwords as $ password => $ array ) { try { $ channel = $ this -> channelGetById ( $ array [ "tcid" ] ) ; $ passwords [ $ password ] [ "tcname" ] = $ channel -> toString ( ) ; $ passwords [ $ password ] [ "tcpath" ] = $ channel -> getPathway ( ) ; } catch ( Ts3Exception $ e ) { /* ERROR_channel_invalid_id */ if ( $ e -> getCode ( ) != 0xA00 ) { throw $ e ; } } } } return $ passwords ; }
Returns a list of temporary server passwords.

@param  boolean $resolve
@return array
Returns a list of temporary server passwords .