library/SimplePie/Author.php Quellcode

Author.php
gehe zur Dokumentation dieser Datei
1 <?php
56 {
63  var $name;
64 
71  var $link;
72 
79  var $email;
80 
88  public function __construct($name = null, $link = null, $email = null)
89  {
90  $this->name = $name;
91  $this->link = $link;
92  $this->email = $email;
93  }
94 
100  public function __toString()
101  {
102  // There is no $this->data here
103  return md5(serialize($this));
104  }
105 
111  public function get_name()
112  {
113  if ($this->name !== null)
114  {
115  return $this->name;
116  }
117  else
118  {
119  return null;
120  }
121  }
122 
128  public function get_link()
129  {
130  if ($this->link !== null)
131  {
132  return $this->link;
133  }
134  else
135  {
136  return null;
137  }
138  }
139 
145  public function get_email()
146  {
147  if ($this->email !== null)
148  {
149  return $this->email;
150  }
151  else
152  {
153  return null;
154  }
155  }
156 }
157 




Korrekturen, Hinweise und Ergänzungen

Bitte scheuen Sie sich nicht und melden Sie, was auf dieser Seite sachlich falsch oder irreführend ist, was ergänzt werden sollte, was fehlt usw. Dazu bitte oben aus dem Menü Seite den Eintrag Support Forum wählen. Es ist eine kostenlose Anmeldung erforderlich, um Anmerkungen zu posten. Unpassende Postings, Spam usw. werden kommentarlos entfernt.