AdminPageFrameworkLoader_Option::get PHP Метод

get() публичный Метод

Returns the specified option value.
С версии: 3.5.0
public get ( )
    public function get()
    {
        $_mDefault = null;
        $_aKeys = func_get_args();
        if (!isset($_aKeys[0])) {
            return null;
        }
        if (is_array($_aKeys[0])) {
            $_aKeys = $_aKeys[0];
            $_mDefault = isset($_aKeys[1]) ? $_aKeys[1] : null;
        }
        // Now either the section ID or field ID is given.
        return AdminPageFramework_WPUtility::getArrayValueByArrayKeys($this->aOptions, $_aKeys, $_mDefault);
    }