PHP Класс Api\StructType\ApiNewsArticle

Наследование: extends Std\Opt\StructClass
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

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() публичный статический Метод

Method called when an object has been exported with var_export() functions It allows to return an object instantiated with the values
См. также: StructClass::__set_state()
public static __set_state ( array $array ) : ApiNewsArticle
$array array the exported values
Результат ApiNewsArticle

__toString() публичный Метод

Method returning the class name
public __toString ( ) : string
Результат string __CLASS__

getDate() публичный Метод

Get Date value
public getDate ( ) : string | null
Результат string | null

getSnippet() публичный Метод

Get Snippet value
public getSnippet ( ) : string | null
Результат string | null

getSource() публичный Метод

Get Source value
public getSource ( ) : string | null
Результат string | null

getTitle() публичный Метод

Get Title value
public getTitle ( ) : string | null
Результат string | null

getUrl() публичный Метод

Get Url value
public getUrl ( ) : string | null
Результат string | null

setDate() публичный Метод

Set Date value
public setDate ( string $date = null ) : ApiNewsArticle
$date string
Результат ApiNewsArticle

setSnippet() публичный Метод

Set Snippet value
public setSnippet ( string $snippet = null ) : ApiNewsArticle
$snippet string
Результат ApiNewsArticle

setSource() публичный Метод

Set Source value
public setSource ( string $source = null ) : ApiNewsArticle
$source string
Результат ApiNewsArticle

setTitle() публичный Метод

Set Title value
public setTitle ( string $title = null ) : ApiNewsArticle
$title string
Результат ApiNewsArticle

setUrl() публичный Метод

Set Url value
public setUrl ( string $url = null ) : ApiNewsArticle
$url string
Результат ApiNewsArticle

Описание свойств

$Date публичное свойство

The Date Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 0
public string $Date
Результат string

$Snippet публичное свойство

The Snippet Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 0
public string $Snippet
Результат string

$Source публичное свойство

The Source Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 0
public string $Source
Результат string

$Title публичное свойство

The Title Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 0
public string $Title
Результат string

$Url публичное свойство

The Url Meta informations extracted from the WSDL - maxOccurs: 1 - minOccurs: 0
public string $Url
Результат string