File "Credit.php"

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

Download   Open   Edit   Advanced Editor   Back

<?php

class SimplePie_Credit
{
    var $role;
    var $scheme;
    var $name;
    public function __construct($role = null, $scheme = null, $name = null)
    {
        $this->role = $role;
        $this->scheme = $scheme;
        $this->name = $name;
    }
    public function __toString()
    {
        return md5(serialize($this));
    }
    public function get_role()
    {
        if ($this->role !== null) {
            return $this->role;
        }
        return null;
    }
    public function get_scheme()
    {
        if ($this->scheme !== null) {
            return $this->scheme;
        }
        return null;
    }
    public function get_name()
    {
        if ($this->name !== null) {
            return $this->name;
        }
        return null;
    }
}