메소드 | 설명 | |
---|---|---|
__construct ( $login, $pass ) | ||
addNote ( $message_id, $note ) | Add a note to a message in a Google Voice Inbox or Voicemail. | |
callNumber ( $number, $from_number, $phone_type = 'mobile' ) | Place a call to $number connecting first to $fromNumber. | |
cancelCall ( $number, $from_number, $phone_type = 'mobile' ) | Cancel a call to $number connecting first to $fromNumber. | |
deleteMessage ( $message_id ) | Delete a message or conversation. | |
dom_dump ( $obj ) | ||
getNewSMS ( ) | ||
getReadSMS ( ) | Get all of the read SMS messages in a Google Voice inbox. | |
getReadVoicemail ( ) | Get all of the unread SMS messages from a Google Voice Voicemail. | |
getUnreadSMS ( ) | Get all of the unread SMS messages in a Google Voice inbox. | |
getUnreadVoicemail ( ) | Get all of the unread SMS messages from a Google Voice Voicemail. | |
getVoicemailMP3 ( $message_id ) | Get MP3 of a Google Voice Voicemail. | |
markMessageRead ( $message_id ) | Mark a message in a Google Voice Inbox or Voicemail as read. | |
markMessageUnread ( $message_id ) | Mark a message in a Google Voice Inbox or Voicemail as unread. | |
markSMSDeleted ( $msgID ) | ||
markSMSRead ( $msgID ) | ||
removeNote ( $message_id, $note ) | Removes a note from a message in a Google Voice Inbox or Voicemail. | |
sendSMS ( $number, $message ) | Send an SMS to $number containing $message. |
메소드 | 설명 | |
---|---|---|
_logIn ( ) | ||
dom_get_input_tags ( $html ) | Source from http://www.binarytides.com/php-get-name-and-value-of-all-input-tags-on-a-page-with-domdocument/ Generic function to fetch all input tags (name and value) on a page Useful when writing automatic login bots/scrapers |
public addNote ( $message_id, $note ) | ||
$message_id | The id of the message to update. | |
$note | The message to send within the SMS. |
public callNumber ( $number, $from_number, $phone_type = 'mobile' ) | ||
$number | The 10-digit phone number to call (formatted with parens and hyphens or none). |
public cancelCall ( $number, $from_number, $phone_type = 'mobile' ) | ||
$number | The 10-digit phone number to call (formatted with parens and hyphens or none). |
public deleteMessage ( $message_id ) | ||
$message_id | The ID of the conversation to delete. |
public getReadVoicemail ( ) |
public getUnreadSMS ( ) |
public getUnreadVoicemail ( ) |
public getVoicemailMP3 ( $message_id ) |
public markMessageRead ( $message_id ) | ||
$message_id | The id of the message to update. |
public markMessageUnread ( $message_id ) | ||
$message_id | The id of the message to update. |
public removeNote ( $message_id, $note ) | ||
$message_id | The id of the message to update. |
public sendSMS ( $number, $message ) | ||
$number | The 10-digit phone number to send the message to (formatted with parens and hyphens or none). | |
$message | The message to send within the SMS. |