PHP Class Api\StructType\ApiNewsArticle

Inheritance: extends Std\Opt\StructClass
Datei anzeigen Open project: wsdltophp/packagegenerator

Public Properties

Property Type Description
$Date string The Date Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 0
$Snippet string The Snippet Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 0
$Source string The Source Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 0
$Title string The Title Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 0
$Url string The Url Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 0

Public Methods

Method Description
__construct ( string $title = null, string $url = null, string $source = null, string $snippet = null, string $date = null ) Constructor method for NewsArticle
__set_state ( array $array ) : ApiNewsArticle Method called when an object has been exported with var_export() functions It allows to return an object instantiated with the values
__toString ( ) : string Method returning the class name
getDate ( ) : string | null Get Date value
getSnippet ( ) : string | null Get Snippet value
getSource ( ) : string | null Get Source value
getTitle ( ) : string | null Get Title value
getUrl ( ) : string | null Get Url value
setDate ( string $date = null ) : ApiNewsArticle Set Date value
setSnippet ( string $snippet = null ) : ApiNewsArticle Set Snippet value
setSource ( string $source = null ) : ApiNewsArticle Set Source value
setTitle ( string $title = null ) : ApiNewsArticle Set Title value
setUrl ( string $url = null ) : ApiNewsArticle Set Url value

Method Details

__construct() public method

Constructor method for NewsArticle
public __construct ( string $title = null, string $url = null, string $source = null, string $snippet = null, string $date = null )
$title string
$url string
$source string
$snippet string
$date string

__set_state() public static method

Method called when an object has been exported with var_export() functions It allows to return an object instantiated with the values
See also: StructClass::__set_state()
public static __set_state ( array $array ) : ApiNewsArticle
$array array the exported values
return ApiNewsArticle

__toString() public method

Method returning the class name
public __toString ( ) : string
return string __CLASS__

getDate() public method

Get Date value
public getDate ( ) : string | null
return string | null

getSnippet() public method

Get Snippet value
public getSnippet ( ) : string | null
return string | null

getSource() public method

Get Source value
public getSource ( ) : string | null
return string | null

getTitle() public method

Get Title value
public getTitle ( ) : string | null
return string | null

getUrl() public method

Get Url value
public getUrl ( ) : string | null
return string | null

setDate() public method

Set Date value
public setDate ( string $date = null ) : ApiNewsArticle
$date string
return ApiNewsArticle

setSnippet() public method

Set Snippet value
public setSnippet ( string $snippet = null ) : ApiNewsArticle
$snippet string
return ApiNewsArticle

setSource() public method

Set Source value
public setSource ( string $source = null ) : ApiNewsArticle
$source string
return ApiNewsArticle

setTitle() public method

Set Title value
public setTitle ( string $title = null ) : ApiNewsArticle
$title string
return ApiNewsArticle

setUrl() public method

Set Url value
public setUrl ( string $url = null ) : ApiNewsArticle
$url string
return ApiNewsArticle

Property Details

$Date public_oe property

The Date Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 0
public string $Date
return string

$Snippet public_oe property

The Snippet Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 0
public string $Snippet
return string

$Source public_oe property

The Source Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 0
public string $Source
return string

$Title public_oe property

The Title Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 0
public string $Title
return string

$Url public_oe property

The Url Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 0
public string $Url
return string