CRM-15368
[civicrm-core.git] / CRM / Extension / Info.php
index c818c4ad93d550cd142edf2aa104b02a19fd65ac..ef30b76dc593fa302e7020e345149ea30d89d1f0 100644 (file)
@@ -44,9 +44,11 @@ class CRM_Extension_Info {
   /**
    * Load extension info an XML file
    *
-   * @param string $string XML content
+   * @param $file
+   *
+   * @throws CRM_Extension_Exception_ParseException
+   * @internal param string $string XML content
    * @return CRM_Extension_Info
-   * @throws CRM_Extension_Exception
    */
   public static function loadFromFile($file) {
     list ($xml, $error) = CRM_Utils_XML::parseFile($file);
@@ -63,6 +65,8 @@ class CRM_Extension_Info {
    * Load extension info a string
    *
    * @param string $string XML content
+   *
+   * @throws CRM_Extension_Exception_ParseException
    * @return CRM_Extension_Info
    */
   public static function loadFromString($string) {
@@ -76,6 +80,13 @@ class CRM_Extension_Info {
     return $instance;
   }
 
+  /**
+   * @param null $key
+   * @param null $type
+   * @param null $name
+   * @param null $label
+   * @param null $file
+   */
   function __construct($key = NULL, $type = NULL, $name = NULL, $label = NULL, $file = NULL) {
     $this->key       = $key;
     $this->type      = $type;