Gets the mapping table of the HTML code
@return the string array recording the decode mapping table
497641
public String[] getHtml2CharMapping () {
    	m_Html2Char[0] = " ";	//&#32
    	m_Html2Char[1] = "!";
    	m_Html2Char[2] = "\"";
    	m_Html2Char[3] = "#";	
    	m_Html2Char[4] = "$";	//36
    	m_Html2Char[5] = "%";
    	m_Html2Char[6] = "&";
    	m_Html2Char[7] = "'";
    	m_Html2Char[8] = "(";
    	m_Html2Char[9] = ")";	//41
    	m_Html2Char[10] = "*";
    	m_Html2Char[11] = "+";
    	m_Html2Char[12] = ",";
    	m_Html2Char[13] = "-";
    	m_Html2Char[14] = ".";	//46
    	m_Html2Char[15] = "/";	
    	m_Html2Char[16] = "0";
    	m_Html2Char[17] = "1";
    	m_Html2Char[18] = "2";
    	m_Html2Char[19] = "3";	//51
    	m_Html2Char[20] = "4";
    	m_Html2Char[21] = "5";
    	m_Html2Char[22] = "6";
    	m_Html2Char[23] = "7";
    	m_Html2Char[24] = "8";	//56
    	m_Html2Char[25] = "9";
    	m_Html2Char[26] = ":";
    	m_Html2Char[27] = ";";
    	m_Html2Char[28] = "<";
    	m_Html2Char[29] = "=";	//61
    	m_Html2Char[30] = ">";
    	m_Html2Char[31] = "?";
    	m_Html2Char[32] = "@";
    	m_Html2Char[33] = "A";
    	m_Html2Char[34] = "B";	//66
    	m_Html2Char[35] = "C";
    	m_Html2Char[36] = "D";
    	m_Html2Char[37] = "E";
    	m_Html2Char[38] = "F";
    	m_Html2Char[39] = "G";	//71
    	m_Html2Char[40] = "H";
    	m_Html2Char[41] = "I";
    	m_Html2Char[42] = "J";
    	m_Html2Char[43] = "K";
    	m_Html2Char[44] = "L";	//76
    	m_Html2Char[45] = "M";
    	m_Html2Char[46] = "N";
    	m_Html2Char[47] = "O";
    	m_Html2Char[48] = "P";
    	m_Html2Char[49] = "Q";	//81
    	m_Html2Char[50] = "R";
    	m_Html2Char[51] = "S";
    	m_Html2Char[52] = "T";
    	m_Html2Char[53] = "U";
    	m_Html2Char[54] = "V";	//86
    	m_Html2Char[55] = "W";
    	m_Html2Char[56] = "X";
    	m_Html2Char[57] = "Y";
    	m_Html2Char[58] = "Z";
    	m_Html2Char[59] = "[";	//91
    	m_Html2Char[60] = "\\";
    	m_Html2Char[61] = "]";
    	m_Html2Char[62] = "^";
    	m_Html2Char[63] = "_";
    	m_Html2Char[64] = "`";	//96
    	m_Html2Char[65] = "a";		
    	m_Html2Char[66] = "b";
    	m_Html2Char[67] = "c";
    	m_Html2Char[68] = "d";
    	m_Html2Char[69] = "e";	//101
    	m_Html2Char[70] = "f";
    	m_Html2Char[71] = "g";
    	m_Html2Char[72] = "h";
    	m_Html2Char[73] = "i";
    	m_Html2Char[74] = "j";	//106
    	m_Html2Char[75] = "k";
    	m_Html2Char[76] = "l";
    	m_Html2Char[77] = "m";
    	m_Html2Char[78] = "n";
    	m_Html2Char[79] = "o";	//111
    	m_Html2Char[80] = "p";
    	m_Html2Char[81] = "q";
    	m_Html2Char[82] = "r";
    	m_Html2Char[83] = "s";
    	m_Html2Char[84] = "t";	//116
    	m_Html2Char[85] = "u";
    	m_Html2Char[86] = "v";
    	m_Html2Char[87] = "w";
    	m_Html2Char[88] = "x";
    	m_Html2Char[89] = "y";	//121
    	m_Html2Char[90] = "z";
    	m_Html2Char[91] = "{";
    	m_Html2Char[92] = "|";
    	m_Html2Char[93] = "}";
    	m_Html2Char[94] = "~";	//126
    	
    	
    	return m_Html2Char;
    }
1141030
public function getTables()
    {
        $objResult = $this->query("SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = current_schema() AND TABLE_TYPE = 'BASE TABLE' ORDER BY TABLE_NAME ASC");
        $strToReturn = array();
        while ($strRowArray = $objResult->fetchRow()) {
            array_push($strToReturn, $strRowArray[0]);
        }
        return $strToReturn;
    }
631795
public function getTable()
    {
        if ($this->_table === null) {
            $table = namespaceSplit(get_class($this));
            $table = substr(end($table), 0, -5);
            if (!$table) {
                $table = $this->getAlias();
            }
            $this->_table = Inflector::underscore($table);
        }

        return $this->_table;
    }
694996
@SuppressWarnings("unchecked")
    public static <D> Mapping<D, String> toStringMapping() {
        return (Mapping<D, String>) TOSTRING_MAPPING;
    }
986105
public function generateJson()
    {
        $sourceMap = array();
        $mappings  = $this->generateMappings();

        // File version (always the first entry in the object) and must be a positive integer.
        $sourceMap['version'] = self::VERSION;

        // An optional name of the generated code that this source map is associated with.
        $file = $this->options['sourceMapFilename'];

        if ($file) {
            $sourceMap['file'] = $file;
        }

        // An optional source root, useful for relocating source files on a server or removing repeated values in the
        // 'sources' entry. This value is prepended to the individual entries in the 'source' field.
        $root = $this->options['sourceRoot'];

        if ($root) {
            $sourceMap['sourceRoot'] = $root;
        }

        // A list of original sources used by the 'mappings' entry.
        $sourceMap['sources'] = array();

        foreach ($this->sources as $source_uri => $source_filename) {
            $sourceMap['sources'][] = $this->normalizeFilename($source_filename);
        }

        // A list of symbol names used by the 'mappings' entry.
        $sourceMap['names'] = array();

        // A string with the encoded mapping data.
        $sourceMap['mappings'] = $mappings;

        if ($this->options['outputSourceFiles']) {
            // An optional list of source content, useful when the 'source' can't be hosted.
            // The contents are listed in the same order as the sources above.
            // 'null' may be used if some original sources should be retrieved by name.
            $sourceMap['sourcesContent'] = $this->getSourcesContent();
        }

        // less.js compat fixes
        if (count($sourceMap['sources']) && empty($sourceMap['sourceRoot'])) {
            unset($sourceMap['sourceRoot']);
        }

        return json_encode($sourceMap);
    }
676551
public function get_table() {
        $table = new html_table();
        $table->tablealign = 'center';
        $table->cellpadding = 5;
        $table->cellspacing = 0;
        $table->width = '90%';
        $table->align = array('left');
        $table->rotateheaders = true;
        $table->head = array('&#xa0;');
        $table->colclasses = array('');

        // Add role name headers.
        foreach ($this->roles as $targetrole) {
            $table->head[] = $targetrole->localname;
            $table->align[] = 'left';
            if ($this->is_allowed_target($targetrole->id)) {
                $table->colclasses[] = '';
            } else {
                $table->colclasses[] = 'dimmed_text';
            }
        }

        // Now the rest of the table.
        foreach ($this->roles as $fromrole) {
            $row = array($fromrole->localname);
            foreach ($this->roles as $targetrole) {
                $checked = '';
                $disabled = '';
                if ($this->allowed[$fromrole->id][$targetrole->id]) {
                    $checked = 'checked="checked" ';
                }
                if (!$this->is_allowed_target($targetrole->id)) {
                    $disabled = 'disabled="disabled" ';
                }
                $name = 's_' . $fromrole->id . '_' . $targetrole->id;
                $tooltip = $this->get_cell_tooltip($fromrole, $targetrole);
                $row[] = '<input type="checkbox" name="' . $name . '" id="' . $name .
                    '" title="' . $tooltip . '" value="1" ' . $checked . $disabled . '/>' .
                    '<label for="' . $name . '" class="accesshide">' . $tooltip . '</label>';
            }
            $table->data[] = $row;
        }

        return $table;
    }
681548
protected static function get_entities_table() {
        static $trans_tbl = null;

        // Generate/create $trans_tbl
        if (!isset($trans_tbl)) {
            if (version_compare(phpversion(), '5.3.4') < 0) {
                $trans_tbl = array();
                foreach (get_html_translation_table(HTML_ENTITIES) as $val=>$key) {
                    $trans_tbl[$key] = self::convert($val, 'ISO-8859-1', 'utf-8');
                }

            } else if (version_compare(phpversion(), '5.4.0') < 0) {
                $trans_tbl = get_html_translation_table(HTML_ENTITIES, ENT_COMPAT, 'UTF-8');
                $trans_tbl = array_flip($trans_tbl);

            } else {
                $trans_tbl = get_html_translation_table(HTML_ENTITIES, ENT_COMPAT | ENT_HTML401, 'UTF-8');
                $trans_tbl = array_flip($trans_tbl);
            }
        }

        return $trans_tbl;
    }
440528
public function getEncodings()
    {
        if (null !== $this->encodings) {
            return $this->encodings;
        }
        $charsets = $this->headers->getParameterListAsObject('ACCEPT_ENCODINGS');

        return $this->encodings = $encodings->getParameterKeys();
    }
693961
public String getHtmlCode()
	{
		Object[] _params =
		{
			SgmlUtils.generateAttribute(HtmlUtils.AttributeNames.VALUE, getValue())
		};
		MessageFormat _format = (isSelected()) ? FORMAT__SELECTED : FORMAT__NOT_SELECTED;
		return _format.format(_params);
	}
1129336
public function getJavaScriptCode()
    {
        $fieldsJavaScriptCode = [];
        $formConfiguration = $this->getFormObject()->getConfiguration();

        foreach ($formConfiguration->getFields() as $field) {
            $fieldsJavaScriptCode[] = $this->processField($field);
        }

        $formName = GeneralUtility::quoteJSvalue($this->getFormObject()->getName());
        $fieldsJavaScriptCode = implode(CRLF, $fieldsJavaScriptCode);

        return <<<JS
(function() {
    Fz.Form.get(
        $formName,
        function(form) {
            var field = null;

$fieldsJavaScriptCode
        }
    );
})();
JS;
    }
1357705
public function toString()
    {
        $array  = array();
        $escape = Driver::$escape_char;

        array_push($array, $this->prefix." ");

        if (is_null($this->fields)) {
            array_push($array, $escape.$this->table.$escape.".* ");
        } else {
            array_push($array, $this->fields);
        }

        array_push($array, " from $escape".$this->table."$escape ");

        if ($this->where) {
            array_push($array, " where ".$this->where);
        }

        if ($this->order) {
            array_push($array, " order by ".$this->order);
        }

        if (!is_null($this->limit) && is_null($this->offset) && Driver::$limit_behaviour == Driver::LIMIT_APPEND) {
            array_push($array, " limit ".$this->limit);
        }

        // basic query
        $query = join(" ", $array);

        if (!is_null($this->limit) && is_null($this->offset) 
            && Driver::$limit_behaviour==Driver::LIMIT_AROUND
            && Driver::$limit_query
        ) {
            $query = str_replace("%query%", $query, Driver::$limit_query);
            $query = str_replace("%limit%", $this->limit, $query);
        }

        if (!is_null($this->limit) && !is_null($this->offset) && Driver::$pagination_query) {
            $query = str_replace("%query%", $query, Driver::$pagination_query);
            $query = str_replace("%from%",  $this->offset, $query);
            $query = str_replace("%to%",    $this->limit, $query);
        }
        return $query;
    }
1358347
public String toVerboseString() {

    /* Take a local reference to the table in case a resize happens. */
    Entry[] tempTable = table;

    StringBuffer buf = new StringBuffer();

    /* Include the SchemaSet hashcode just in case we need to distinguish them */
    buf.append("SchemaSet ");
    buf.append(this.hashCode());
    buf.append(" {\n");

    /* For each table entry, write out all the SchemaIds */
    for (int i=0; i < tempTable.length;  i++) {
      buf.append("  [");
      buf.append(i);
      buf.append("] ");
      Entry ent = tempTable[i];
      buf.append(ent);
      while (ent != null) {
        ent = ent.next;
        buf.append(" ");
        buf.append(ent);
      }
      buf.append("\n");
    }

    buf.append(" }\n");

    return buf.toString();
  }
369194
public function getColumnObjectsMapping()
    {
        $mapping = [];
        $foreignTable = $this->getForeignTable();
        for ($i = 0, $size = count($this->localColumns); $i < $size; $i++) {
            $mapping[] = [
                'local'   => $this->parentTable->getColumn($this->localColumns[$i]),
                'foreign' => $foreignTable->getColumn($this->foreignColumns[$i]),
                'value' => $this->localValues[$i],
            ];
        }

        return $mapping;
    }
461914
@Trivial
    @Override
    public String getCharacterEncoding() {
        if (null != this.encoding) {
            return this.encoding;
        }

        EncodingUtils encodingUtils = connection.getEncodingUtils();

        String enc = null;
        // parse content-type to see if it's set there
        String type = this.request.getHeader("Content-Type");
        if (null != type) {
            enc = encodingUtils.getCharsetFromContentType(type);
            if (!encodingUtils.isCharsetSupported(enc)) {
                enc = null;
            }
        }

        // now get the appropriate match (may be set in the properties)
        this.encoding = encodingUtils.getJvmConverter(enc);

        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
            Tr.debug(tc, "getCharacterEncoding: set to " + this.encoding);
        }
        return this.encoding;
    }
628230
public function generateMappings()
    {
        if (! count($this->mappings)) {
            return '';
        }

        $this->source_keys = array_flip(array_keys($this->sources));

        // group mappings by generated line number.
        $groupedMap = $groupedMapEncoded = [];

        foreach ($this->mappings as $m) {
            $groupedMap[$m['generated_line']][] = $m;
        }

        ksort($groupedMap);
        $lastGeneratedLine = $lastOriginalIndex = $lastOriginalLine = $lastOriginalColumn = 0;

        foreach ($groupedMap as $lineNumber => $line_map) {
            while (++$lastGeneratedLine < $lineNumber) {
                $groupedMapEncoded[] = ';';
            }

            $lineMapEncoded = [];
            $lastGeneratedColumn = 0;

            foreach ($line_map as $m) {
                $mapEncoded = $this->encoder->encode($m['generated_column'] - $lastGeneratedColumn);
                $lastGeneratedColumn = $m['generated_column'];

                // find the index
                if ($m['source_file']) {
                    $index = $this->findFileIndex($m['source_file']);

                    if ($index !== false) {
                        $mapEncoded .= $this->encoder->encode($index - $lastOriginalIndex);
                        $lastOriginalIndex = $index;
                        // lines are stored 0-based in SourceMap spec version 3
                        $mapEncoded .= $this->encoder->encode($m['original_line'] - 1 - $lastOriginalLine);
                        $lastOriginalLine = $m['original_line'] - 1;
                        $mapEncoded .= $this->encoder->encode($m['original_column'] - $lastOriginalColumn);
                        $lastOriginalColumn = $m['original_column'];
                    }
                }

                $lineMapEncoded[] = $mapEncoded;
            }

            $groupedMapEncoded[] = implode(',', $lineMapEncoded) . ';';
        }

        return rtrim(implode($groupedMapEncoded), ';');
    }
283550
public function toString()
    {
        $driver  = $this->getDriver();
        $prefix  = $driver->getTablePrefix();
        $query   = 'SHOW '.$this->show;

        if($this->from)
        {
            $table  = (in_array($this->show, array('FULL COLUMNS', 'COLUMNS', 'INDEX', 'INDEXES', 'KEYS')) ? $prefix : '').$this->from;
            $query .= ' FROM '.$driver->quoteIdentifier($table);
        }

        if($this->like) {
            $query .= ' LIKE '.$driver->quoteIdentifier($this->like);
        }

        if($this->where)
        {
            $query .= ' WHERE';

            foreach($this->where as $where)
            {
                if(!empty($where['combination'])) {
                    $query .= ' '.$where['combination'];
                }

                $query .= ' '.$driver->quoteIdentifier($where['condition']);
            }
        }

        if($this->_parameters) {
            $query = $this->_replaceParams($query);
        }

        return $query;
    }
270972
public static String [] getTLDEntries(DomainValidator.ArrayType table) {
        final String[] array;
        switch(table) {
            case COUNTRY_CODE_MINUS:
                array = countryCodeTLDsMinus;
                break;
            case COUNTRY_CODE_PLUS:
                array = countryCodeTLDsPlus;
                break;
            case GENERIC_MINUS:
                array = genericTLDsMinus;
                break;
            case GENERIC_PLUS:
                array = genericTLDsPlus;
                break;
            case GENERIC_RO:
                array = GENERIC_TLDS;
                break;
            case COUNTRY_CODE_RO:
                array = COUNTRY_CODE_TLDS;
                break;
            case INFRASTRUCTURE_RO:
                array = INFRASTRUCTURE_TLDS;
                break;
            case LOCAL_RO:
                array = LOCAL_TLDS;
                break;
            default:
                throw new IllegalArgumentException("Unexpected enum value: " + table);
        }
        return Arrays.copyOf(array, array.length); // clone the array
    }