File "Author.php"

Full path: /home/kosmetik/public_html/wp-includes/SimplePie/Author.php
File size: 767 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor   Back

<?php

class SimplePie_Author
{
    var $name;
    var $link;
    var $email;
    public function __construct($name = null, $link = null, $email = null)
    {
        $this->name = $name;
        $this->link = $link;
        $this->email = $email;
    }
    public function __toString()
    {
        return md5(serialize($this));
    }
    public function get_name()
    {
        if ($this->name !== null) {
            return $this->name;
        }
        return null;
    }
    public function get_link()
    {
        if ($this->link !== null) {
            return $this->link;
        }
        return null;
    }
    public function get_email()
    {
        if ($this->email !== null) {
            return $this->email;
        }
        return null;
    }
}