public function __construct($oCaller, $sCallerPath, $sClassName, $aisOptionKey, $sCapability = 'manage_options', $sTextDomain = 'amazon-auto-links')
 {
     $this->_sFormRegistrationHook = 'load_after_' . $sClassName;
     parent::__construct($oCaller, $sCallerPath, $sClassName, $sCapability, $sTextDomain, $this->sStructureType);
     $this->sTargetFormPage = $_SERVER['REQUEST_URI'];
     $this->_setOptionsProperties($aisOptionKey, $sClassName);
     $GLOBALS['aAmazonAutoLinks_AdminPageFramework']['aPageClasses'] = $this->getElementAsArray($GLOBALS, array('aAmazonAutoLinks_AdminPageFramework', 'aPageClasses'));
     $GLOBALS['aAmazonAutoLinks_AdminPageFramework']['aPageClasses'][$sClassName] = $oCaller;
     add_filter("option_page_capability_{$this->sOptionKey}", array($this, '_replyToGetCapability'));
 }
 public function __construct($oCaller, $sCallerPath, $sClassName, $sCapability, $sTextDomain, $sStructureType)
 {
     parent::__construct($oCaller, $sCallerPath, $sClassName, $sCapability, $sTextDomain, $sStructureType);
     if (!$sCallerPath) {
         return;
     }
     switch ($this->_getCallerType($sCallerPath)) {
         case 'theme':
             add_action('after_switch_theme', array('AmazonAutoLinks_AdminPageFramework_WPUtility', 'flushRewriteRules'));
             break;
         case 'plugin':
             register_activation_hook($sCallerPath, array('AmazonAutoLinks_AdminPageFramework_WPUtility', 'flushRewriteRules'));
             register_deactivation_hook($sCallerPath, array('AmazonAutoLinks_AdminPageFramework_WPUtility', 'flushRewriteRules'));
             break;
     }
 }
 public function __construct($oCaller, $sClassName, $sCapability = 'edit_posts', $sTextDomain = 'amazon-auto-links', $sStructureType = 'post_meta_box')
 {
     parent::__construct($oCaller, null, $sClassName, $sCapability, $sTextDomain, $sStructureType);
 }
 public function __construct($oCaller, $sCallerPath, $sClassName, $sCapability = 'manage_options', $sTextDomain = 'amazon-auto-links', $sStructureType)
 {
     $this->_sFormRegistrationHook = 'load_' . $sClassName;
     parent::__construct($oCaller, $sCallerPath, $sClassName, $sCapability, $sTextDomain, $sStructureType);
 }
 public static function _setLibraryData()
 {
     self::$_aLibraryData = array('sName' => AmazonAutoLinks_AdminPageFramework_Registry::NAME, 'sURI' => AmazonAutoLinks_AdminPageFramework_Registry::URI, 'sScriptName' => AmazonAutoLinks_AdminPageFramework_Registry::NAME, 'sLibraryName' => AmazonAutoLinks_AdminPageFramework_Registry::NAME, 'sLibraryURI' => AmazonAutoLinks_AdminPageFramework_Registry::URI, 'sPluginName' => '', 'sPluginURI' => '', 'sThemeName' => '', 'sThemeURI' => '', 'sVersion' => AmazonAutoLinks_AdminPageFramework_Registry::getVersion(), 'sDescription' => AmazonAutoLinks_AdminPageFramework_Registry::DESCRIPTION, 'sAuthor' => AmazonAutoLinks_AdminPageFramework_Registry::AUTHOR, 'sAuthorURI' => AmazonAutoLinks_AdminPageFramework_Registry::AUTHOR_URI, 'sTextDomain' => AmazonAutoLinks_AdminPageFramework_Registry::TEXT_DOMAIN, 'sDomainPath' => AmazonAutoLinks_AdminPageFramework_Registry::TEXT_DOMAIN_PATH, 'sNetwork' => '', '_sitewide' => '');
     return self::$_aLibraryData;
 }