5.7 Variablen und Konstanten
Wesentliche Änderungen bei den Variablen unter CMSimple_XH 1.7 sind:
- $cf[xhtml][endtags] wurde entfernt, und tag() missbilligt. Es wird empfohlen statt dessen einfach valides HTML5 zu erzeugen.
- Die globale Variable $rq wurde entfernt.
- $pd_router->addTab() akzeptiert nun einen optionalen dritten Parameter, der es ermöglicht eine CSS-Klasse anzugeben, die für den Page-Data-Tab gesetzt wird, so dass individuelle Tab-Labels leicht gestylt werden können.
- $pd_router->model ist nun private; es sollte statt dessen die Methoden von $pd_router verwendet werden, um zum Model weiterzuleiten.
Die wichtigsten globalen Variablen sind hier namentlich aufgelistet und über den folgenden Link kann die jeweilige Dokumentation eingesehen werden:
http://www.cmsimple-xh.org/dev-doc/php/cms_8php.html
- $_XH_csrfProtection
- $_XH_pluginMenu
- $action
- $adm (See also XH_ADM)
- $admin
- $bjs (See also $hjs 1.5.4)
- $c
- $cf (See also $plugin_cf)
- $cgi
- $cl
- $download
- $downloads
- $e (See also e() )
- $edit (See also $normal)
- $errors
- $f
- $file
- $function
- $h (See also h() )
- $hc
- $hjs (See also $bjs)
- $hl
- $i
- $iis
- $images
- $j
- $keycut
- $l (See also l() )
- $login
- $logout
- $mailform
- $media
- $normal (See also $edit)
- $o
- $onload
- $output
- $pd_current
- $pd_router
- $pd_s (See also $s)
- $plugin
- $plugin_cf (See also $cf)
- $plugin_tx (See also $tx)
- $pth
- $s
- $search
- $selected
- $settings
- $si
- $sitemap
- $sn (See also CMSIMPLE_URL)
- $su (See also $selected + $u)
- $temp
- $text
- $title
- $tx (See also $plugin_tx )
- $txc (Deprecated: since 1.6 (use $cf resp. $tx instead).)
- $u (See also $su)
- $userfiles
- $validate
- $xh_publisher (Since 1.7.0 )
- $xhpages
- CMSIMPLE_BASE
- CMSIMPLE_ROOT
- CMSIMPLE_URL (Since 1.6, See also $sn)
- CMSIMPLE_XH_BUILD
- CMSIMPLE_XH_VERSION
- else
- if
- PLUGINLOADER
- PLUGINLOADER_VERSION
- XH_ADM (Since 1.5.4, $adm)
- XH_FORM_NAMESPACE
- XH_URICHAR_SEPARATOR (Since 1.6 )
« vorige Seite | Seitenanfang | nächste Seite » |