CompetitiveSegment Types

CompetitiveSegment WSDL

Competitive Segment Model
This service is stateful.

Examples +

  • add
  • add
  • edit
  • edit
  • delete
  • delete
.

addtop

Deprecated 2011-01-01

This method will be removed in upcoming releases.

Use save() to persist a new entity

Description

Saves changes made to the CompetitiveSegment

int add()

Return Values

int The ID of the CompetitiveSegment (unique)

clearObjectDatatop

Description

Clears the current object state.
This method will unload possibly loaded objects. Unsaved changes will be lost.

boolean clearObjectData()

Return Values

boolean

doComplexCalltop

Description

Execute a complex call.
For further information read the API-User documentation.

string doComplexCall(string $xmlstr)

Parameters

string $xmlstr XML of Complex Statements

Return Values

string The output produced by the statements

edittop

Deprecated 2011-01-01

This method will be removed in upcoming releases.

Use save() to persist changes made to an entity

Description

Saves changes made to the CompetitiveSegment

boolean edit()

Return Values

boolean TRUE on succes, FALSE on fail

getDescriptiontop

Description

Gets the description

string getDescription()

Return Values

string

getIdtop

Description

Gets the id

int getId()

Return Values

int

getNametop

Description

Gets the name

string getName()

Return Values

string

getNetworktop

Description

Returns the current network id

int getNetwork()

Return Values

int Network ID

getNetworkIdtop

Description

Return $this->competitiveExclusionFilters->getId();
}

/**
Gets the network id

int getNetworkId()

Return Values

int

getTokentop

Description

Gets the session token. Can be used for single-sign-on.

string getToken()

Return Values

string

getUpdatedAttop

Description

Gets the update date

string getUpdatedAt()

Return Values

string

isVisibletop

Description

Gets the name

string isVisible()

Return Values

string

loadtop

Description

Loads an segment by it's id

boolean load(int $identifier)

Parameters

int $identifier

Return Values

boolean True on success, otherwise false

logintop

Description

Initializes a new session with given information

boolean login(string $user, string $pass, int $network)

Parameters

string $user Username
string $pass Password
int $network $network Network ID

Return Values

boolean true on success, false on fail

loginSmartPhonetop

Deprecated 2014-12-22

This method will be removed in upcoming releases.

Was only useful for the mobile app, which is not supported anymore.

Description

Login method

boolean loginSmartPhone(string $user, string $pass, int $network, string $client)

Parameters

string $user Username
string $pass Password
int $network $network Network ID
string $client Client token e.g. "apn" token of iPhone

Return Values

boolean TRUE on success, FALSE on fail

logouttop

Description

Destroys the active session, logging out the user.

boolean logout()

Return Values

boolean true on success, false on fail

removetop

Description

Removes a competitive segment

boolean remove()

Return Values

boolean

removeByIdtop

Description

Removes a CompetitiveSegmentModel with the given id

boolean removeById(int $id)

Parameters

int $id ID of object to remove.

Return Values

boolean

savetop

Description

Persists current object state

boolean save()

Return Values

boolean

setDescriptiontop

Description

Sets the description

boolean setDescription(string $description)

Parameters

string $description Description

Return Values

boolean

setNametop

Description

Sets the name

boolean setName(string $name)

Parameters

string $name Name

Return Values

boolean

setVisibletop

Description

Toggles the visibility

boolean setVisible(boolean $visible)

Parameters

boolean $visible True for visible, false otherwise

Return Values

boolean

validatetop

Description

Validates the object and returns an error stack.

string validate()

Return Values

string

Console