Ejemplo 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	integer		One of the ERRTYPE_x constants
  */
 public function __construct(&$registry, $errtype = ERRTYPE_STANDARD)
 {
     parent::__construct($registry, $errtype);
     ($hook = vBulletinHook::fetch_hook('attachdata_start')) ? eval($hook) : false;
 }