Class RegistryManifest

Description

Registry module manifest. Simplifies access to module.xml manifest.

Located in /modules/registries/class.RegistryManifest.php (line 14)


	
			
Method Summary
 static void LoadCompiledManifest ( $path, [ $force_compile = false])
 static bool|string Validate (string $path)
 RegistryManifest __construct (string $path)
 void GetContactConfig ( $contact_type)
 void GetContactConfigByGroup ( $contact_group)
 array GetContactFields (string $contact_type)
 array GetContactFormSchema ([string $contact_type = null], [string $contact_group = null])
 void GetContactTargetIndex ( $TLD,  $contact_group)
 void GetContactTargetTitle ( $TLD,  $contact_group)
 array GetContactTypes ()
 void GetDomainConfig ()
 array GetExtensionList ()
 void GetGroupNameByContactType ( $contact_type)
 void GetOptions ()
 void GetPath ()
 SimpleXMLElement GetRegistryOptions ()
 SimpleXMLElement GetSectionConfig ()
 string GetSectionName ()
 void MakePhoneField ([ $attrs = array()])
 void SetExtension (string $extension)
 void SetSection ( $section_name)
Methods
static LoadCompiledManifest (line 76)
  • access: public
static void LoadCompiledManifest ( $path, [ $force_compile = false])
  • $path
  • $force_compile
static Validate (line 172)

Perform full validation

  • return: Success true value or manifest validation error message
  • access: public
static bool|string Validate (string $path)
  • string $path
Constructor __construct (line 51)

Loads manifest from a given file.

RegistryManifest __construct (string $path)
  • string $path: Path to XML file
GetContactConfig (line 394)
  • access: public
void GetContactConfig ( $contact_type)
  • $contact_type
GetContactConfigByGroup (line 407)
  • access: public
void GetContactConfigByGroup ( $contact_group)
  • $contact_group
GetContactFields (line 344)

Returns array of contact field names for specified $contact_type

  • return: Contact field names
  • access: public
array GetContactFields (string $contact_type)
  • string $contact_type
GetContactFormSchema (line 496)

This method return contact form schema Called by EPPDRS core

  • access: public
array GetContactFormSchema ([string $contact_type = null], [string $contact_group = null])
  • string $contact_type
  • string $contact_group
GetContactTargetIndex (line 452)
  • access: public
void GetContactTargetIndex ( $TLD,  $contact_group)
  • $TLD
  • $contact_group
GetContactTargetTitle (line 466)
  • access: public
void GetContactTargetTitle ( $TLD,  $contact_group)
  • $TLD
  • $contact_group
GetContactTypes (line 385)

This method return list of supported contact types

  • return: Contact types
  • access: public
array GetContactTypes ()
GetDomainConfig (line 419)
  • access: public
void GetDomainConfig ()
GetExtensionList (line 739)

Returns a list of supported domain extensions

  • return: Domain extensions
  • access: public
array GetExtensionList ()
GetGroupNameByContactType (line 430)
  • access: public
void GetGroupNameByContactType ( $contact_type)
  • $contact_type
GetModuleCodebase (line 791)
  • access: public
void GetModuleCodebase ()
GetModuleDescription (line 786)

Returns module description

  • access: public
string GetModuleDescription ()
GetOptions (line 776)
  • access: public
void GetOptions ()
GetOverriddenErrors (line 319)

Return Registry errors override

  • access: public
array GetOverriddenErrors ()
GetPath (line 806)
  • access: public
void GetPath ()
GetRegistrationMaxNS (line 305)
  • access: public
void GetRegistrationMaxNS ()
GetRegistrationMinNS (line 300)
  • access: public
void GetRegistrationMinNS ()
GetRegistryOptions (line 761)

Returns registry options

  • access: public
SimpleXMLElement GetRegistryOptions ()
GetSectionConfig (line 801)

Get current section set up by RegistyManifest::SetExtension

  • access: public
SimpleXMLElement GetSectionConfig ()
GetSectionName (line 447)
  • access: public
string GetSectionName ()
MakePhoneField (line 483)
  • access: public
void MakePhoneField ([ $attrs = array()])
  • $attrs
SetExtension (line 248)

Set current extension to $extension

  • access: public
void SetExtension (string $extension)
  • string $extension
SetSection (line 274)
  • access: public
void SetSection ( $section_name)
  • $section_name

Documentation generated on Thu, 22 Apr 2010 15:16:30 +0300 by phpDocumentor 1.4.1