<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
* Metadata for an extension (e.g. the extension's "info.xml" file)
+ *
+ * @package CRM
+ * @copyright CiviCRM LLC (c) 2004-2015
*/
class CRM_Extension_Info {
/**
- * Extension info file name
+ * Extension info file name.
*/
const FILENAME = 'info.xml';
public $file = NULL;
/**
- * Load extension info an XML file
+ * Load extension info an XML file.
*
* @param $file
*
}
/**
- * Load extension info a string
+ * Load extension info a string.
*
* @param string $string
* XML content.
* Copy attributes from an XML document to $this
*
* @param SimpleXMLElement $info
- * @return void
*/
public function parse($info) {
$this->key = (string) $info->attributes()->key;