function __construct($oCaller, $sClassName, $sCapability = 'manage_options', $sTextDomain = 'admin-page-framework', $sFieldsType = 'page_meta_box')
 {
     add_action('admin_menu', array($this, '_replyToSetUpProperties'), 100);
     if (is_network_admin()) {
         add_action('network_admin_menu', array($this, '_replyToSetUpProperties'), 100);
     }
     parent::__construct($oCaller, $sClassName, $sCapability, $sTextDomain, $sFieldsType);
     $GLOBALS['aAdminPageFramework']['aMetaBoxForPagesClasses'] = isset($GLOBALS['aAdminPageFramework']['aMetaBoxForPagesClasses']) && is_array($GLOBALS['aAdminPageFramework']['aMetaBoxForPagesClasses']) ? $GLOBALS['aAdminPageFramework']['aMetaBoxForPagesClasses'] : array();
     $GLOBALS['aAdminPageFramework']['aMetaBoxForPagesClasses'][$sClassName] = $oCaller;
 }
 function __construct($oCaller, $sClassName, $sCapability = 'manage_options', $sTextDomain = 'admin-page-framework', $sFieldsType = 'page_meta_box')
 {
     add_action('admin_menu', array($this, '_replyToSetUpProperties'), 100);
     // this must be done after the menu class finishes building the menu with the _replyToBuildMenu() method.
     if (is_network_admin()) {
         add_action('network_admin_menu', array($this, '_replyToSetUpProperties'), 100);
     }
     parent::__construct($oCaller, $sClassName, $sCapability, $sTextDomain, $sFieldsType);
     /* Store the 'meta box for pages' class objects in the global storage. These will be referred by the admin page class to determine if there are added meta boxes so that the screen option does not have to be set. */
     $GLOBALS['aAdminPageFramework']['aMetaBoxForPagesClasses'] = isset($GLOBALS['aAdminPageFramework']['aMetaBoxForPagesClasses']) && is_array($GLOBALS['aAdminPageFramework']['aMetaBoxForPagesClasses']) ? $GLOBALS['aAdminPageFramework']['aMetaBoxForPagesClasses'] : array();
     $GLOBALS['aAdminPageFramework']['aMetaBoxForPagesClasses'][$sClassName] = $oCaller;
     // The meta box class for pages needs to access the object.
 }