SofaDoc

SofaDoc Map Usage

inc/relation.php

Classes

swRelation

Methods

__construct($columns,$g=()
addColumn($s)
analyze($t)
arity()
assert($t)
assert2($method,$expression)
cardinality()
cleanColumn($s)
doClone()
delete($condition)
deserialize()
difference($r)
emptyTuple()
extend($t)
extend2($label,$expression)
format1($t)
format12($pairs)
format2($d,$f)
import($value)
insert($t)
insert2($fields)
intersection($r)
join($r,$expression)
joinHash($r,$expression)
label($t)
label2($pairs)
limit($t)
limit2($start,$length)
order($t)
order2($pairs)
parse($t)
parse2($field,$reg,$labels)
print2()
project($t)
project2($pairs)
rename1($t)
rename12($pairs)
select1($condition)
serialize1()
getCSV()
getCSVFormatted()
setCSV($file,$pad=true,$append=true,$encoding='utf-8')
getTab()
getSpace()
setTab($file,$encoding='utf-8')
getJSON()
setJson($s,$path='')
setXml($s)
setHtml($s,$n=)
toChart($options)
toFields($limit=)
toHTML($limit=)
toTemplate($tmp)
toText($limit=,$single=false)
union($r)
update($t)
update2($condition,$label,$expression)
validName($s)

Properties

$header
$tuples
$globals
$formats
$labels
$functions
$aggregators

swOrderedDictionary

Methods

order()
compare($a,$b)

Properties

$pairs
$tuples
$pfields
$porders
$pfieldcount

swRelationError extends


Methods

Properties

Used elements

Classes

DOMDocument, swAccumulator, swExpression, swOrderedDictionary, swRelation, swRelationError, swTuple

Functions

echotime, swEscape, swFileStreamLineGenerator, swFlattenArray, swNameURL, swNumberformat, swString2File, swUnescape

Globals

$name, $q

Variables

$adict, $aggregandum, $aggregatformat, $aggregation, $aggregator, $aggs, $alllables, $append, $atext, $bdict, $body, $btext, $cells, $chlist, $cols, $columns, $commonheader, $condition, $dhash, $dict, $dicts, $eachhashappened, $edit, $editfile, $elem, $encoding, $expression, $expression2, $field, $fieldformats, $fields, $file, $filesize, $filter, $first, $firstline, $found, $grid, $hasstats, $haststats, $header, $internalErrors, $json, $keyx, $keyy, $label, $labels, $lastd, $lasti, $lastobservation, $lastvalidi, $leftfound, $leftheader, $length, $limit, $line, $linecount, $linegrid, $lines, $list, $list1, $list2, $locals, $matches, $method, $newcolumns, $newps, $newtuples, $nextd, $nulltext, $observationkey, $offset, $padformats, $pairs, $pairs2, $path, $quoted, $rest, $result, $retainline, $rightheader, $rollup, $rollupfields, $rolluppairs, $rollupremoved, $rows, $second, $sel2, $selectors, $selt, $separator, $single, $spacegrid, $stars, $start, $state, $stats, $tables, $templates, $test, $theformat, $tp11, $tpfields, $tpstack, $tuples2, $value, $widths, $xavg, $xvar, $xyavg, $yavg, $yvar

Short variables: $a, $acc, $agg, $all, $atp, $b, $btp, $c, $c2, $cc, $cf, $ch, $cov, $d, $d1, $d10, $d11, $d2, $doc, $e, $e2, $eq, $f, $f0, $f1, $fm, $g, $h, $i, $i0, $i2, $id, $j, $k, $key, $l, $ls, $m, $mf, $n, $nc, $od, $p, $pad, $ps, $r, $r0, $r1, $r2, $r3, $reg, $rn, $row, $s, $s0, $s2, $sel, $t, $t2, $td, $tmp, $tp, $tp1, $tp2, $tr, $tx, $v, $val, $x, $xml, $xp, $xp2, $y

Features

array, class, exception, file, json, math, mb, preg, str, string, variable, xml

Others

BOLD, Exception, INVERT, NORMAL, end, floatVal, simplexml_load_string, sum