/disclaimer
TharDesign
defined in /common/common.phpgetInstance()
defined on line 165__construct()
defined on line 176loadLibraries()
/** * Load Libraries */ |
fixUTF8LanguageFiles()
defined on line 302checkLoggedIn()
defined on line 323getUserFieldInputs()
/** * Gets the userfield */ |
checkWebsiteClosed()
defined on line 380checkAdministratorLoggedIn()
defined on line 394setupURL()
defined on line 413setupTemplate()
defined on line 432recaptchaInvalid()
defined on line 463translate($key)
defined on line 482customTranslate($lang, $key)
defined on line 502adminTranslate($key)
defined on line 522setupModules()
defined on line 538loadForms()
defined on line 666loadSettings()
defined on line 685loadSystemSettings()
defined on line 696loadModules()
defined on line 717loadLanguages()
defined on line 736detectLanguage()
/** * Function to detect the browserLanguage, returns languagefile (array) * * @return array The language file according to the user's browser language **/ |
prechecksPageMenu(&$data0)
defined on line 812postchecksPageMenu($data0, &$list)
defined on line 849checkIfPageIsActive($data0)
defined on line 924getMenuStructure($sitemap = false)
/** * Menu structure * @return array */ |
generateMenu($sitemap = false)
defined on line 1072output($title = NULL)
defined on line 1077adminOutput($title, $popup = false)
defined on line 1121replaceCarrouselInContent($pageContent)
defined on line 1143replaceDiashowInContent($pageContent)
defined on line 1261replaceYoutubeInContent($pageContent)
defined on line 1378addLoginSnippet()
defined on line 1451Syntagma
defined in /syntagma/syntagma.class.phpgetInstance()
defined on line 29get()
defined on line 37__construct()
defined on line 41SynErrors
defined in /syntagma/classes/errors.class.phpgetInstance()
defined on line 61__construct()
defined on line 73enableLogPHPErrors()
/** * Enables logging PHP's errors/warnings/notices/strict-notices to file (can't be disabled) * Unfortanetly it's not possible to generate nice errorpages or logs. It will be saved in SynLog's log.txt * WARNING: Set SynLog::$logfilePath to an absolute path or else saving errors to file won't work */ |
setupCatchPHPErrors()
defined on line 86logPHPErrors()
defined on line 96errorHandler($errno, $errstr, $errfile, $errline)
defined on line 115fatalError($message, $debugMessage = NULL, $extraTrace = array (
))
/** * Static function, shortcut, to easily stop everything and show a fatal error */ |
reportFatalError($message, $debugMessage = NULL, $extraTrace = array (
))
defined on line 179filterSynClassesFromTrace($var)
defined on line 218htmlLog($message, $trace, $debugMessage = NULL)
defined on line 223simpleLog($message, $trace, $debugMessage = NULL)
defined on line 263tryDisplayCustomError()
defined on line 296SynIO
defined in /syntagma/classes/io.class.phptrimPost()
/** * Easily trim everything in $_POST */ |
getIP()
/** * Returns the IP of the visitor * No guarantee the IP-address is valid or accurate */ |
generateURL($relativePath = false)
/** * Generates an absolute URL to current PHP-script * @param $relativePath The relative path to the root, where the URL should point to * @return string Full absolute URL */ |
generateRelativeURL($relativePath = false)
/** * Generates an absolute URL to current PHP-script * @param $relativePath The relative path to the root, where the URL should point to * @return string Full absolute URL */ |
getBrowserLanguages()
/** * Detects all browser languages supported by browser * @return array An array of languagecodes in lowercase */ |
removeMagicQuotesGPC()
/** * Easily remove magic_quotes * Generally it's better to code without magic_quotes (also removed in PHP6) * This function will nothing if magic_quotes_gpc is not enabled */ |
forceMagicQuotesGPC()
/** * In case you can't live without magic_quotes_gpc * This function will do nothing if magic_quotes_gpc is enabled */ |
isUsingCompression()
/** * Detect if the browser and server supports compression (and the user has enabled it) * @return boolean */ |
isUsingSSL()
/** * Detects if the current connection is using SSL * @return boolean */ |
parseMultiviewVariables()
/** * Parses variables in the URL * Example: * /test.php/hello/blaat * Will add variable $_GET["hello"] with the value 'blaat' */ |
parseMultiviewURL()
/** * A bit different from parseMultiviewVariables() * This parses URL's like /test.php/hello/blaat and returns array(hello, blaat) * @return array A numeric array **/ |
startOutputControl()
defined on line 270downloadFile($file, $filename = false, $cache = true)
/** * Does everything to make the browser will download the file * @param $file path to file * @param $filename The filename of the file. When false it will use the original filename. Default is false * @param $cache Allow the browser to cache the file, default is true * Cache should be false if it's a private download (you first need to login or such) or when it doesn't have an unique URL (no fileID for example) */ |
downloadContent($content, $filename, $cache = false)
/** * Does everything to make the browser will download the content as a file * @param $content The contents of the file * @param $filename The filename * @param $cache Allow the browser to cache the file, default is false * Cache should be false if it's a private download (you first need to login or such) or when it doesn't have an unique URL (no fileID for example) */ |
downloadStream($stream, $filename, $cache = true)
/** * Does everything to make the browser will download the contents of a stream as a file * Works the same as downloadContent */ |
setDownloadHeaders($contentLength, $filename, $cache = true)
/** * Only sends the download headers to make the browser download the contents of the page * You will need to echo the contents of the file yourself * @param $contentLength The length of the content. If unknown, use 0 * @param $filename * @param $cache Allow the browser to cache the file, default is false * Cache should be false if it's a private download (you first need to login or such) or when it doesn't have an unique URL (no fileID for example) */ |
endAllOutput()
/** * Stops all output buffering and cleans them, no output will be sent to the browser * @return A string with all output */ |
flushLastOutput()
/** * Ends and flushes the last output buffering to the browser */ |
endLastOutput()
/** * Ends the last output buffering, the content will NOT be sent to the browser * @returns String A string with the contents of the output buffer */ |
flushAllOutput()
/** * Flushes all output buffers to the browser */ |
cleanAllOutput()
/** * Empties all output buffers */ |
setCookie($name, $value, $expire, $secure = false, $httpOnly = true)
/** * Sets a cookie... * @param $expire The relative time in seconds of how long the cookie should live (example: 3600) */ |
doConditionalGet($etag)
/** * A simple PHP implementation of conditional get * Doesn't use last-modified, only gives problems (mod_expires for example) * Must be called everytime to set the ETag * @param $etag A unique hash for the contents of the file. If the same with the browser cache, the browser will NOT download the page */ |
setNoCache()
defined on line 467header($h)
defined on line 474output($content = false)
/** * Output everything to the browser and handle headers, output filters and compression * Should be called always and as the last thing if SynIO is used. */ |
getRespondHeaders()
/** * Returns a list of respond headers * @return array */ |
isPost()
/** * Has the browser sent POST data? * @return boolean */ |
redirect($path, $time = 0, $withPost = 0, $jqm = false)
/** * Temporary redirect to other URL * Will use HTTP redirect if possible, else Javascript redirect * @param $path Relative/Absolute URL to destination * @param $time Wait how long until redirect in seconds * @param $withPost If there's POST-data and this is true, the POST-data will be sent again to the destination (will need browser confirmation) * @param $jqm jQuery Mobile redirect header or default redirect */ |
redirectPermament($path)
/** * Sends a 'permament redirect to other URL'-header to the browser * Requires that no output has been sent yet * @param $path Relative/Absolute URL to destination */ |
authenticate($username, $password, $realm = 'Please login to continue...')
defined on line 618SynLog
defined in /syntagma/classes/log.class.phpgetInstance()
defined on line 51get()
defined on line 58__construct()
defined on line 63debug($msg)
defined on line 66info($msg)
defined on line 71warn($msg)
defined on line 76error($msg)
defined on line 81getMessages()
/** * Returns all messages in an array */ |
log($type, $msg)
defined on line 94SynDatabase
defined in /syntagma/classes/database.class.phpgetInstance()
defined on line 60get()
defined on line 71__construct()
defined on line 75getType()
defined on line 84getServer()
defined on line 88getConnection()
defined on line 92checkForConnection()
/** * Checks if the server's connection is still alive and reconnects if there isn't a connection * @return bool */ |
checkConnection()
/** * Checks if the server's connection is still alive and reconnects if there isn't a connection * @return bool * @deprecated use checkForConnection() */ |
hasConnection()
/** * Checks if a connection with the database has been made */ |
setExceptions($exceptions)
/** * Set the version update exception list data * EditYourApp older versions only */ |
setData($server, $username, $password, $db, $type = 5)
/** * Set the database configuration data */ |
setFile($db)
/** * Shorthand function for setting the database configuration data for SQLite */ |
connect()
/** * creates a connection to the database. * @return void */ |
connectMysqliDatabase()
/** * makes a connection with mysql using mysqli driver. * exits if extension mysqli is not loaded. * @return void */ |
connectPostgreSqlDatabase()
/** * makes a connection with postgresql database. * exits if extension pgsql is not loaded. * @return void */ |
connectFirebirdDatabase()
/** * makes a connection with firebird database. * exits if extension ibase_connect is not loaded. * @return void */ |
connectSQLiteDatabase()
/** * makes a connection with SQlite database. * exits if extension SQlite is not loaded. * @return void */ |
newQuery($q)
/** * Creates new SynDatabaseQuery object * Will automatically connect * @return SynDatabaseQuery */ |
query($q)
/** * Handy static function which is shorter then SynDatabase::getInstance()->newQuery($q) * @return SynDatabaseQuery */ |
queryCache($maxCacheAge, $q)
/** * Handy static function which allows you do to a query with cache * @return SynDatabaseQuery */ |
dataToSQL($data)
/** * Autodetects type and converts PHP-variable to SQL-string, including quotes * @return string */ |
listColumns($table)
/** * Returns an array of columns of a table * @return array of array's|false */ |
listTables()
/** * Returns a list of tables in the current database * @return array|false */ |
insertID($result = NULL)
/** * Returns last inserted ID (MySQL) or OID (PostgreSQL) * @return int|false */ |
escapeString($data)
/** * Don't use this * @return string The escaped string */ |
escape($data)
/** * Escapes the string for safe usage in a query * #Don't use this, use SynDatabaseQuery::assign() instead * @return string The escaped string * @deprecated use SysDatabaseQuery::assign() */ |
ComposerAutoloaderInitee118f7d8960fd4363a42beed86a81e7
defined in /scripts/vendor/composer/autoload_real.phploadClassLoader($class)
defined on line 9getLoader()
/** * @return \Composer\Autoload\ClassLoader */ |
Composer\Autoload\ClassLoader
defined in /scripts/vendor/composer/ClassLoader.php__construct($vendorDir = NULL)
/** * @param string|null $vendorDir */ |
getPrefixes()
/** * @return array<string, list<string>> */ |
getPrefixesPsr4()
/** * @return array<string, list<string>> */ |
getFallbackDirs()
/** * @return list<string> */ |
getFallbackDirsPsr4()
/** * @return list<string> */ |
getClassMap()
/** * @return array<string, string> Array of classname => path */ |
addClassMap($classMap)
/** * @param array<string, string> $classMap Class to filename map * * @return void */ |
add($prefix, $paths, $prepend = false)
/** * Registers a set of PSR-0 directories for a given prefix, either * appending or prepending to the ones previously set for this prefix. * * @param string $prefix The prefix * @param list<string>|string $paths The PSR-0 root directories * @param bool $prepend Whether to prepend the directories * * @return void */ |
addPsr4($prefix, $paths, $prepend = false)
/** * Registers a set of PSR-4 directories for a given namespace, either * appending or prepending to the ones previously set for this namespace. * * @param string $prefix The prefix/namespace, with trailing '\\' * @param list<string>|string $paths The PSR-4 base directories * @param bool $prepend Whether to prepend the directories * * @throws \InvalidArgumentException * * @return void */ |
set($prefix, $paths)
/** * Registers a set of PSR-0 directories for a given prefix, * replacing any others previously set for this prefix. * * @param string $prefix The prefix * @param list<string>|string $paths The PSR-0 base directories * * @return void */ |
setPsr4($prefix, $paths)
/** * Registers a set of PSR-4 directories for a given namespace, * replacing any others previously set for this namespace. * * @param string $prefix The prefix/namespace, with trailing '\\' * @param list<string>|string $paths The PSR-4 base directories * * @throws \InvalidArgumentException * * @return void */ |
setUseIncludePath($useIncludePath)
/** * Turns on searching the include path for class files. * * @param bool $useIncludePath * * @return void */ |
getUseIncludePath()
/** * Can be used to check if the autoloader uses the include path to check * for classes. * * @return bool */ |
setClassMapAuthoritative($classMapAuthoritative)
/** * Turns off searching the prefix and fallback directories for classes * that have not been registered with the class map. * * @param bool $classMapAuthoritative * * @return void */ |
isClassMapAuthoritative()
/** * Should class lookup fail if not found in the current class map? * * @return bool */ |
setApcuPrefix($apcuPrefix)
/** * APCu prefix to use to cache found/not-found classes, if the extension is enabled. * * @param string|null $apcuPrefix * * @return void */ |
getApcuPrefix()
/** * The APCu prefix in use, or null if APCu caching is not enabled. * * @return string|null */ |
register($prepend = false)
/** * Registers this instance as an autoloader. * * @param bool $prepend Whether to prepend the autoloader or not * * @return void */ |
unregister()
/** * Unregisters this instance as an autoloader. * * @return void */ |
loadClass($class)
/** * Loads the given class or interface. * * @param string $class The name of the class * @return true|null True if loaded, null otherwise */ |
findFile($class)
/** * Finds the path to the file where the class is defined. * * @param string $class The name of the class * * @return string|false The path if found, false otherwise */ |
getRegisteredLoaders()
/** * Returns the currently registered loaders keyed by their corresponding vendor directories. * * @return array<string, self> */ |
findFileWithExtension($class, $ext)
/** * @param string $class * @param string $ext * @return string|false */ |
initializeIncludeClosure()
/** * @return void */ |
Composer\Autoload\ComposerStaticInitee118f7d8960fd4363a42beed86a81e7
defined in /scripts/vendor/composer/autoload_static.phpgetInitializer($loader)
defined on line 160SynFilters
defined in /syntagma/classes/filters.class.php__construct()
defined on line 15formatNiceURL($str)
/** * Accepts a normal sentence (string) and converts it into a human-readable string which can be appended to an URL * @param string * @return string */ |
removeWhitespace($c)
/** * Remove all whitespace from the string * @param string * @return string */ |
converSpecialAlphaCharacters($str)
/** * This converts characters with umlauts and other signs to normal a-z characters * @param string * @return string */ |
formatFilesize($bytes, $round = 2)
/** * Converts a filesize to nice readable filesize * For example: formatFilesize(2556, 1) becomes 2,5 KB * @param $bytes The number of bytes * @param $round How many numbers after decimal point * @return string */ |
formatTime($time)
/** * Formats a timestamp to a string that shows the duration in a readable string * @param UNIX timestamp * @return string For example: 2 weeks, 3 days and 14 seconds */ |
cleanupPath($p)
/** * Cleans up absolute path for display (also makes it relative to www-root) */ |
checkDirectoryPath($p)
/** * Returns path with a slash at the end */ |
recursiveStripslashes($i)
/** * Recursively strips the slashes * Note: Expects values in the array are all strings */ |
recursiveAddslashes($i)
/** * Recursively adds slashes to every string * Note: Expects values in the array are all strings */ |
recursiveTrim($i)
/** * Recursively trims every string in the array * Note: Expects values in the array are all strings */ |
FirePHP
defined in /syntagma/external/firephp.class.php__construct()
defined on line 257__sleep()
/** * When the object gets serialized only include specific object members. * * @return array */ |
getInstance($autoCreate = false)
/** * Gets singleton instance of FirePHP * * @param boolean $autoCreate * @return FirePHP */ |
init()
/** * Creates FirePHP object and stores it for singleton access * * @return FirePHP */ |
setInstance($instance)
/** * Set the instance of the FirePHP singleton * * @param FirePHP $instance The FirePHP object instance * @return FirePHP */ |
setLogToInsightConsole($console)
/** * Set an Insight console to direct all logging calls to * * @param object $console The console object to log to * @return void */ |
setEnabled($enabled)
/** * Enable and disable logging to Firebug * * @param boolean $enabled TRUE to enable, FALSE to disable * @return void */ |
getEnabled()
/** * Check if logging is enabled * * @return boolean TRUE if enabled */ |
setObjectFilter($class, $filter = true)
/** * Specify a filter to be used when encoding an object * * Filters are used to exclude object members. * * @param string $class The class name of the object * @param mixed $filter An array of members to exclude or 'true' (default) to exclude whole class * @return void */ |
ignoreClassInTraces($class)
/** * Specify a class to ignore when traversing stack traces. * * @param string $class The class name to ignore */ |
ignorePathInTraces($path)
/** * Specify a path prefix to ignore when traversing stack traces. * * @param string $path The path prefix to ignore */ |
_isClassPropertyInObjectFilter($class, $name)
/** * Check if the property of an object of a specific class * should be ignored by looking up the class and all * parent classes in the object filter. * * @param string $class The class to check * @param string $name The property name to check * @return boolean */ |
setOptions($options)
/** * Set some options for the library * * Options: * - maxDepth: The maximum depth to traverse (default: 10) * - maxObjectDepth: The maximum depth to traverse objects (default: 5) * - maxArrayDepth: The maximum depth to traverse arrays (default: 5) * - useNativeJsonEncode: If true will use json_encode() (default: true) * - includeLineNumbers: If true will include line numbers and filenames (default: true) * * @param array $options The options to be set * @return void */ |
getOptions()
/** * Get options from the library * * @return array The currently set options */ |
setOption($name, $value)
/** * Set an option for the library * * @param string $name * @param mixed $value * @return void * @throws Exception */ |
getOption($name)
/** * Get an option from the library * * @param string $name * @return mixed * @throws Exception */ |
registerErrorHandler($throwErrorExceptions = false)
/** * Register FirePHP as your error handler * * Will throw exceptions for each php error. * * @return mixed Returns a string containing the previously defined error handler (if any) */ |
errorHandler($errno, $errstr, $errfile, $errline, $errcontext)
/** * FirePHP's error handler * * Throws exception for each php error that will occur. * * @param integer $errno * @param string $errstr * @param string $errfile * @param integer $errline * @param array $errcontext */ |
registerExceptionHandler()
/** * Register FirePHP as your exception handler * * @return mixed Returns the name of the previously defined exception handler, * or NULL on error. * If no previous handler was defined, NULL is also returned. */ |
exceptionHandler($exception)
/** * FirePHP's exception handler * * Logs all exceptions to your firebug console and then stops the script. * * @param Exception $exception * @throws Exception */ |
registerAssertionHandler($convertAssertionErrorsToExceptions = true, $throwAssertionExceptions = false)
/** * Register FirePHP driver as your assert callback * * @param boolean $convertAssertionErrorsToExceptions * @param boolean $throwAssertionExceptions * @return mixed Returns the original setting or FALSE on errors */ |
assertionHandler($file, $line, $code)
/** * FirePHP's assertion handler * * Logs all assertions to your firebug console and then stops the script. * * @param string $file File source of assertion * @param integer $line Line source of assertion * @param mixed $code Assertion code */ |
group($name, $options = NULL)
/** * Start a group for following messages. * * Options: * Collapsed: [true|false] * Color: [#RRGGBB|ColorName] * * @param string $name * @param array $options OPTIONAL Instructions on how to log the group * @return true * @throws Exception */ |
groupEnd()
/** * Ends a group you have started before * * @return true * @throws Exception */ |
log($object, $label = NULL, $options = array (
))
/** * Log object with label to firebug console * * @see FirePHP::LOG * @param mixed $object * @param string $label * @return true * @throws Exception */ |
info($object, $label = NULL, $options = array (
))
/** * Log object with label to firebug console * * @see FirePHP::INFO * @param mixed $object * @param string $label * @return true * @throws Exception */ |
warn($object, $label = NULL, $options = array (
))
/** * Log object with label to firebug console * * @see FirePHP::WARN * @param mixed $object * @param string $label * @return true * @throws Exception */ |
error($object, $label = NULL, $options = array (
))
/** * Log object with label to firebug console * * @see FirePHP::ERROR * @param mixed $object * @param string $label * @return true * @throws Exception */ |
dump($key, $variable, $options = array (
))
/** * Dumps key and variable to firebug server panel * * @see FirePHP::DUMP * @param string $key * @param mixed $variable * @return true * @throws Exception */ |
trace($label)
/** * Log a trace in the firebug console * * @see FirePHP::TRACE * @param string $label * @return true * @throws Exception */ |
table($label, $table, $options = array (
))
/** * Log a table in the firebug console * * @see FirePHP::TABLE * @param string $label * @param string $table * @return true * @throws Exception */ |
to()
/** * Insight API wrapper * * @see Insight_Helper::to() */ |
plugin()
/** * Insight API wrapper * * @see Insight_Helper::plugin() */ |
detectClientExtension()
/** * Check if FirePHP is installed on client * * @return boolean */ |
filterDebugBacktrace($trace, $offset = 0)
/** * Given a debug_backtrace(), filter it by removing all ignored classes and paths. * * @param string $trace A debug_backtrace() trace */ |
fb($object)
/** * Log varible to Firebug * * @see http://www.firephp.org/Wiki/Reference/Fb * @param mixed $object The variable to be logged * @return boolean Return TRUE if message was added to headers, FALSE otherwise * @throws Exception */ |
_standardizePath($path)
/** * Standardizes path for windows systems. * * @param string $path * @return string */ |
_escapeTrace($trace, $options = array (
))
/** * Escape trace path for windows systems * * @param array $trace * @return array */ |
_escapeTraceFile($file)
/** * Escape file information of trace for windows systems * * @param string $file * @return string */ |
headersSent(&$filename, &$linenum)
/** * Check if headers have already been sent * * @param string $filename * @param integer $linenum */ |
setHeader($name, $value)
/** * Send header * * @param string $name * @param string $value */ |
getUserAgent()
/** * Get user agent * * @return string|false */ |
getAllRequestHeaders()
/** * Get all request headers * * @return array */ |
getRequestHeader($name)
/** * Get a request header * * @return string|false */ |
newException($message)
/** * Returns a new exception * * @param string $message * @return Exception */ |
jsonEncode($object, $skipObjectEncode = false)
/** * Encode an object into a JSON string * * Uses PHP's jeson_encode() if available * * @param object $object The object to be encoded * @param boolean $skipObjectEncode * @return string The JSON string */ |
encodeTable($table, $options = array (
))
/** * Encodes a table by encoding each row and column with encodeObject() * * @param array $table The table to be encoded * @return array */ |
encodeObject($object, $objectDepth = 1, $arrayDepth = 1, $maxDepth = 1, $options = array (
))
/** * Encodes an object including members with * protected and private visibility * * @param object $object The object to be encoded * @param integer $objectDepth The current object traversal depth * @param integer $arrayDepth The current array traversal depth * @param integer $maxDepth The current max object or array traversal depth * @param array $options Encoding options * @return array All members of the object */ |
is_utf8($str)
/** * Returns true if $string is valid UTF-8 and false otherwise. * * @param mixed $str String to be tested * @return boolean */ |
json_utf82utf16($utf8)
/** * convert a string from one UTF-8 char to one UTF-16 char * * Normally should be handled by mb_convert_encoding, but * provides a slower PHP-only method for installations * that lack the multibye string extension. * * @param string $utf8 UTF-8 character * @return string UTF-16 character * @access private */ |
json_encode($var)
/** * encodes an arbitrary variable into JSON format * * @param mixed $var any number, boolean, string, array, or object to be encoded. * see argument 1 to Services_JSON() above for array-parsing behavior. * if var is a strng, note that encode() always expects it * to be in ASCII or UTF-8 format! * * @return mixed JSON string representation of input var or an error if a problem occurs * @access public */ |
json_name_value($name, $value)
/** * array-walking function for use in generating JSON-formatted name-value pairs * * @param string $name name of key to use * @param mixed $value reference to an array element to be encoded * * @return string JSON-formatted name-value pair, like '"name":value' * @access private */ |
setProcessorUrl($URL)
/** * @deprecated */ |
setRendererUrl($URL)
/** * @deprecated */ |
SynTemplate
defined in /syntagma/classes/template.class.phpcheckValue($key, $value)
defined on line 39addGlobalAssign($assign, $replace = NULL)
/** * Adds a global assign * This assign will be used in every SynTemplate-object * @param $assign The name of the variable or array with variable as key's */ |
__construct($file = NULL)
/** * Constructor * @param $file Path to file, if empty, then setFile() needs to be called */ |
setFile($tpl)
/** * Sets the template which will be used for parsing */ |
parse()
/** * Parses the template * @return string Returns parsed content of the template */ |
hasError()
/** * Checks if the template has any errors (including notices) after parsing * @boolean */ |
errorHandler($errno, $errstr, $errfile, $errline)
/** * Internal error handler */ |
assign($assign, $replace = NULL)
/** * Assigns a variable to the template * This can be done in 2 ways, examples: * $tpl->assign('isError', false ); * or * $tpl->assign( array( 'isError' => false, 'success' => true ) ); */ |
__toString()
/** * Shorthand for parse() */ |
offsetSet($offset, $value)
defined on line 250offsetExists($offset)
defined on line 256offsetUnset($offset)
defined on line 262offsetGet($offset)
defined on line 268SynValidation
defined in /syntagma/classes/validation.class.php__construct()
defined on line 16isBool($string)
/** * Different from standard is_bool() * This will also return true for strings like "1" * @return boolean */ |
isNumber($string)
/** * Also different from standard is_numeric() but also SynValidation::isNumeric() * this function may only contain numbers * Only positive numbers (because - isn't a number) * Same goes for things like dot, spaces and others * @return boolean */ |
isDate($string)
/** * Checks if a string can be converted to a date * @return boolean */ |
isValidDate($string)
/** * Checks if a string is a valid date * @return boolean */ |
isAlphaNumeric($string)
/** * @return boolean */ |
isName($string)
/** * Same as isAlphaNumeric() only spaces are also allowed */ |
containsSpecialAlphaCharacters($str)
/** * Returns true when it contains characters like ä, ß, í etc * Only works for charsets that are backwards compatible with ASCII (UTF-8, ISO-8859-1) * @return string */ |
isValidString($string, $allowed = '-._')
/** * Handy function if you want to validate strings with extra characters * @return boolean */ |
isNumeric($num)
/** * Extended function that also supports +/-, comma's and spaces * @return boolean */ |
isOdd($num)
/** * Checks if a number is odd * @return boolean */ |
isImageFilename($str)
/** * @return boolean */ |
isIP($string)
/** * Check if a string is a (valid) IPv4- or IPv6-adress * @return boolean */ |
isIPv4($string)
/** * Check if a string is a (valid) IPv4-adress * @return boolean */ |
isIPv6($ip)
/** * Check if a string is a (valid) IPv6-adress * @return boolean */ |
isPrivateIP($in)
/** * Check if the IPv4 is valid and a private IP (for example 192.168.1.1) * @return boolean */ |
isEmail($string)
/** * Checks for a valid email adress * @return boolean */ |
ucasePercent($str)
/** * Calculates the percentage of uppercase characters, handy if you want to block titles with too much uppercase * Return 50 when there's less then 4 characters * @return int Percentage */ |
isPostalCode($string)
/** * @return boolean */ |
hasWhitespace($string)
/** * @return boolean */ |
isURL($url)
/** * @return boolean */ |
contains($needle, $haystack, $casesensitive = true)
/** * Checks if the needle-string is a part of or equals the haystack-string * @return boolean */ |
VarToHTML
defined in /syntagma/templates/bsod.tpl.php__construct($var, $arguments = false)
defined on line 69show($var)
defined on line 79showArguments($var)
defined on line 98hasSub($var)
defined on line 110getObjectVars($obj)
defined on line 132iterateSub($list, $depth = 0, $noKey = false)
defined on line 150iterateObject($obj, $depth = 0)
defined on line 192showSub($var, $depth = 0, $arguments = false)
defined on line 246getTypeToString($var)
defined on line 265isDirectShowable($var)
defined on line 294
Linux pr02.ns-thar.nl 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
Apache/2
8.2.24
Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, calendar, ctype, curl, dom, hash, FFI, fileinfo, filter, ftp, gd, gettext, json, iconv, intl, SPL, mbstring, session, standard, exif, mysqlnd, PDO, pdo_mysql, pdo_sqlite, Phar, posix, random, Reflection, mysqli, shmop, SimpleXML, soap, sockets, sodium, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, cgi-fcgi, pgsql, imagick, ssh2
2023.01
/index.php
/common/common.php
/syntagma/syntagma.class.php
/syntagma/classes/errors.class.php
/syntagma/classes/io.class.php
/syntagma/classes/log.class.php
/common/config.inc.php
/syntagma/classes/database.class.php
/scripts/vendor/autoload.php
/scripts/vendor/composer/autoload_real.php
/scripts/vendor/composer/platform_check.php
/scripts/vendor/composer/ClassLoader.php
/scripts/vendor/composer/autoload_static.php
/syntagma/classes/filters.class.php
/syntagma/external/firephp.class.php
/syntagma/classes/template.class.php
/syntagma/classes/validation.class.php
/syntagma/templates/bsod.tpl.php
/index.php
/index.php
CGI/1.1
/home/toppharm/domains/toppharm.sr/public_html
216.73.216.123
80
46.243.192.98
toppharm.sr
1
0
0
2050M
4096
1024M
0
0
0
1000M