PHP 클래스 Api\StructType\ApiNewsArticle

상속: extends Std\Opt\StructClass
파일 보기 프로젝트 열기: wsdltophp/packagegenerator

공개 프로퍼티들

프로퍼티 타입 설명
$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