* @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later */ /** * A License class for use on Special:Upload (represents a single type of license). */ class License { /** @var string */ public $template; /** @var string */ public $text; /** * @param string $str License name?? */ function __construct( $str ) { list( $text, $template ) = explode( '|', strrev( $str ), 2 ); $this->template = strrev( $template ); $this->text = strrev( $text ); } }