tangra logo
   
[ class tree: tangra_lib ] [ index: tangra_lib ] [ all elements ]
 

Class: Tangra_Module_Info_Loader_File

Source Location: /modules_manager/tangra_module_info_loader_file.class.php

Class Tangra_Module_Info_Loader_File

Class Overview

Loads module.ctrl.xml file and returns basic info about it - HID and version

Located in /modules_manager/tangra_module_info_loader_file.class.php [line 24]

Tangra_Class
   |
   --Tangra_Module_Info_Loader_File

Properties

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Tangra_Class

Tangra_Class::get_class_name()
Alias of get_class(). Exist because of historical reasons.
Tangra_Class::__set()
Overides PHP built-in method and just throws exception if called. Purpose - to "forbid" autosetting of nonexisting class properties.

[ Top ]
Property Summary
string   $file_path   Path to module.ctrl.xml file

[ Top ]
Method Summary
Tangra_Module_Info_Loader_File   __construct()   Constructor
array   get_module_info()   Returns module info

[ Top ]
Properties
string   $file_path [line 31]

Path to module.ctrl.xml file

API Tags:
Internal:  
Access:  private


[ Top ]
Methods
Constructor __construct  [line 39]

  Tangra_Module_Info_Loader_File __construct( [string $file_path = '']  )

Constructor

Parameters:
string   $file_path:  Path to module.ctrl.xml file


[ Top ]
get_module_info  [line 53]

  array get_module_info( )

Returns module info


API Tags:
Return:  array('hid' => MODULE_ ID, 'version' => VERSION;
Access:  public


[ Top ]