public static function FlushRewriteRules()
 {
     $_bIsFlushed = isset(self::$_bIsFlushed) ? self::$_bIsFlushed : false;
     if ($_bIsFlushed) {
         return;
     }
     flush_rewrite_rules();
     self::$_bIsFlushed = true;
 }
 public function getValue()
 {
     $_aParams = func_get_args();
     $_aDimensionalKeys = $_aParams + array(null, null);
     $_mDefault = null;
     if (is_array($_aDimensionalKeys[0])) {
         $_mDefault = $_aDimensionalKeys[1];
         $_aDimensionalKeys = $_aDimensionalKeys[0];
     }
     return LesserAdminPageFramework_WPUtility::getOption($this->oProp->sOptionKey, empty($_aParams) ? null : $_aDimensionalKeys, $_mDefault, $this->getSavedOptions() + $this->oProp->getDefaultOptions($this->oForm->aFields));
 }
 function start_el(&$sOutput, $oTerm, $iDepth = 0, $aArgs = array(), $iCurrentObjectID = 0)
 {
     $aArgs = $aArgs + array('_name_prefix' => null, '_input_id_prefix' => null, '_attributes' => array(), '_selected_items' => array(), 'taxonomy' => null, 'disabled' => null);
     $_iID = $oTerm->term_id;
     $_sTaxonomySlug = empty($aArgs['taxonomy']) ? 'category' : $aArgs['taxonomy'];
     $_sID = "{$aArgs['_input_id_prefix']}_{$_sTaxonomySlug}_{$_iID}";
     $_sPostCount = $aArgs['show_post_count'] ? " <span class='font-lighter'>(" . $oTerm->count . ")</span>" : '';
     $_aInputAttributes = isset($_aInputAttributes[$_iID]) ? $_aInputAttributes[$_iID] + $aArgs['_attributes'] : $aArgs['_attributes'];
     $_aInputAttributes = array('id' => $_sID, 'value' => 1, 'type' => 'checkbox', 'name' => "{$aArgs['_name_prefix']}[{$_iID}]", 'checked' => in_array($_iID, (array) $aArgs['_selected_items']) ? 'checked' : null) + $_aInputAttributes + array('class' => null);
     $_aInputAttributes['class'] .= ' apf_checkbox';
     $_aLiTagAttributes = array('id' => "list-{$_sID}", 'class' => 'category-list', 'title' => $oTerm->description);
     $sOutput .= "\n" . "<li " . LesserAdminPageFramework_WPUtility::generateAttributes($_aLiTagAttributes) . ">" . "<label for='{$_sID}' class='taxonomy-checklist-label'>" . "<input value='0' type='hidden' name='" . $_aInputAttributes['name'] . "' class='apf_checkbox' />" . "<input " . LesserAdminPageFramework_WPUtility::generateAttributes($_aInputAttributes) . " />" . esc_html(apply_filters('the_category', $oTerm->name)) . $_sPostCount . "</label>";
 }
 public static function getOption($sOptionKey, $asKey = null, $vDefault = null)
 {
     return LesserAdminPageFramework_WPUtility::getOption($sOptionKey, $asKey, $vDefault);
 }