Overview

Namespaces

  • SMSApi
    • Api
      • Action
        • Mms
        • Phonebook
        • Sender
        • Sms
        • User
        • Vms
      • Response
    • Exception
    • Proxy
      • Http

Classes

  • ContactAdd
  • ContactDelete
  • ContactEdit
  • ContactGet
  • ContactList
  • GroupAdd
  • GroupDelete
  • GroupEdit
  • GroupGet
  • GroupList
  • Overview
  • Namespace
  • Class
  • Tree

Class ContactAdd

Class ContactAdd

SMSApi\Api\Action\AbstractAction
Extended by SMSApi\Api\Action\Phonebook\ContactAdd

Direct known subclasses

SMSApi\Api\Action\Phonebook\ContactEdit
Namespace: SMSApi\Api\Action\Phonebook
Package: SMSApi\Api\Action\Phonebook
Located at Api/Action/Phonebook/ContactAdd.php
Methods summary
public
# __construct( )

Overrides

SMSApi\Api\Action\AbstractAction::__construct()
protected SMSApi\Api\Response\ContactResponse
# response( mixed $data )

Parameters

$data
mixed
$data

Returns

SMSApi\Api\Response\ContactResponse
public SMSApi\Proxy\Uri
# uri( )

Returns

SMSApi\Proxy\Uri
public mixed
# setNumber( string|integer $number )

Set contact phone number.

Set contact phone number.

Parameters

$number
string|integer
$number

Returns

mixed
$this
public mixed
# setFirstName( string $firstName )

Set contact first name.

Set contact first name.

Parameters

$firstName
string
$firstName

Returns

mixed
$this
public mixed
# setLastName( string $lastName )

Set contact last name.

Set contact last name.

Parameters

$lastName
string
$lastName

Returns

mixed
$this
public mixed
# setInfo( string $info )

Set additional contact description.

Set additional contact description.

Parameters

$info
string
$info

Returns

mixed
$this
public mixed
# setEmail( mixed $email )

Set contact email address.

Set contact email address.

Parameters

$email
mixed
$email

Returns

mixed
$this
public mixed
# setBirthday( string $birthday )

Set contact birthday date.

Set contact birthday date.

Parameters

$birthday
string
$birthday

Returns

mixed
$this
public mixed
# setCity( string $city )

Set contact city.

Set contact city.

Parameters

$city
string
$city

Returns

mixed
$this
public mixed
# setGender( string $gender )

Set contact gender.

Set contact gender.

Parameters

$gender
string
$gender female, male, unknown

Returns

mixed
$this
public mixed
# setGroup( string $group )

Add contact to group.

Add contact to group.

Parameters

$group
string
$group group name

Returns

mixed
$this
public mixed
# setGroups( array $groups )

Add contact to groups.

Add contact to groups.

Parameters

$groups
string[]
$group array with groups names

Returns

mixed
$this
Methods inherited from SMSApi\Api\Action\AbstractAction
client(), execute(), file(), handleError(), paramsBasicToQuery(), paramsLoginToQuery(), paramsOther(), proxy(), renderTo(), setJson(), setTest()
Properties inherited from SMSApi\Api\Action\AbstractAction
$client, $date, $encoding, $group, $idx, $params, $proxy, $to
SMSAPI api client API documentation generated by ApiGen 2.8.0