Exemplo n.º 1
0
 /**
  * Constructor - checks that the registry object has been passed correctly.
  *
  * @param	vB_Registry		Instance of the vBulletin data registry object - expected to have the database object as one of its $this->db member.
  * @param 	vB_XML_Parser 	Instance of the vBulletin XML parser.
  */
 function __construct(vB_Registry $registry, vB_XML_Parser $xml_handler = null)
 {
     parent::__construct($registry, $xml_handler);
     $this->load_data();
 }
Exemplo n.º 2
0
 /**
  * Constructor - checks that the registry object has been passed correctly.
  *
  * @param	vB_Registry		Instance of the vBulletin data registry object - expected to have the database object as one of its $this->db member.
  * @param 	vB_XML_Parser 	Instance of the vBulletin XML parser.
  */
 function __construct(vB_Registry $registry, vB_XML_Parser $xml_handler = null)
 {
     parent::__construct($registry, $xml_handler);
     $this->set_priorities();
 }