wp/wp-includes/SimplePie/Credit.php
changeset 16 a86126ab1dd4
parent 0 d970ebf37754
equal deleted inserted replaced
15:3d4e9c994f10 16:a86126ab1dd4
     3  * SimplePie
     3  * SimplePie
     4  *
     4  *
     5  * A PHP-Based RSS and Atom Feed Framework.
     5  * A PHP-Based RSS and Atom Feed Framework.
     6  * Takes the hard work out of managing a complete RSS/Atom solution.
     6  * Takes the hard work out of managing a complete RSS/Atom solution.
     7  *
     7  *
     8  * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors
     8  * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors
     9  * All rights reserved.
     9  * All rights reserved.
    10  *
    10  *
    11  * Redistribution and use in source and binary forms, with or without modification, are
    11  * Redistribution and use in source and binary forms, with or without modification, are
    12  * permitted provided that the following conditions are met:
    12  * permitted provided that the following conditions are met:
    13  *
    13  *
    31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
    31  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
    32  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    32  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    33  * POSSIBILITY OF SUCH DAMAGE.
    33  * POSSIBILITY OF SUCH DAMAGE.
    34  *
    34  *
    35  * @package SimplePie
    35  * @package SimplePie
    36  * @version 1.3.1
    36  * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue
    37  * @copyright 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue
       
    38  * @author Ryan Parman
    37  * @author Ryan Parman
    39  * @author Geoffrey Sneddon
    38  * @author Sam Sneddon
    40  * @author Ryan McCue
    39  * @author Ryan McCue
    41  * @link http://simplepie.org/ SimplePie
    40  * @link http://simplepie.org/ SimplePie
    42  * @license http://www.opensource.org/licenses/bsd-license.php BSD License
    41  * @license http://www.opensource.org/licenses/bsd-license.php BSD License
    43  */
    42  */
    44 
    43 
   111 	{
   110 	{
   112 		if ($this->role !== null)
   111 		if ($this->role !== null)
   113 		{
   112 		{
   114 			return $this->role;
   113 			return $this->role;
   115 		}
   114 		}
   116 		else
   115 
   117 		{
   116 		return null;
   118 			return null;
       
   119 		}
       
   120 	}
   117 	}
   121 
   118 
   122 	/**
   119 	/**
   123 	 * Get the organizational scheme
   120 	 * Get the organizational scheme
   124 	 *
   121 	 *
   128 	{
   125 	{
   129 		if ($this->scheme !== null)
   126 		if ($this->scheme !== null)
   130 		{
   127 		{
   131 			return $this->scheme;
   128 			return $this->scheme;
   132 		}
   129 		}
   133 		else
   130 
   134 		{
   131 		return null;
   135 			return null;
       
   136 		}
       
   137 	}
   132 	}
   138 
   133 
   139 	/**
   134 	/**
   140 	 * Get the credited person/entity's name
   135 	 * Get the credited person/entity's name
   141 	 *
   136 	 *
   145 	{
   140 	{
   146 		if ($this->name !== null)
   141 		if ($this->name !== null)
   147 		{
   142 		{
   148 			return $this->name;
   143 			return $this->name;
   149 		}
   144 		}
   150 		else
   145 
   151 		{
   146 		return null;
   152 			return null;
       
   153 		}
       
   154 	}
   147 	}
   155 }
   148 }
   156