Wednesday, August 23 in 2017
Module Frontpage Slideshow
LEPTON CMS
Pageviews 60,051
Currently online: 8
Modul: rhTools
Author: Ralf Hertsch
Nick: Ralf (Berlin)
Contact: ralf.hertsch@phpmanufaktur.de
Version: 0.49
State: Stable
License: GPL
GUID: 2FB48469-7837-43fd-92F3-E05CBEAB07C2
Platform: 2.7
Requires: PHP 5.2.x minimum
Last info: 2011-08-01
Rating:
59.0
491 votes
1 2 3 4 5
Download: here
Forum: here
Web Link: here
Description: class with usefull functions for addons programmers:

class rhTools
public function __construct()
public function setError($error)
public function getError()
public function isError()
public function getVersion()
public function isFrontendActive()
public function isAuthenticated()
public function getWBSettings(&$settings)
public function getUsername()
public function getDisplayName()
public function getUserEMail()
public function correctBackslashToSlash($path)
public function addSlash($path)
public function removeLeadingSlash($path)
public function getMediaPath()
public function getFileNameByPageID($pageID, &$fileName)
public function getUrlByPageID($pageID, &$url)
public function getPageLinkByPageID($pageID, &$link, $params=array())
public function generatePassword($length=7)
public function str2float($string)
public function str2int($string)
public function htmlEntities2char($string)
public function char2htmlEntities($string)
public function validateEMail($email)
public function bytes2Str($byte)
public function cleanFileName($string)
public function createGUID()
public function removeDirectory($target)
} // class rhTools

rhTools also include an easy to use template parser tParser:

class tParser {
public function __construct()
public function getVersion()
public function parseTemplateFile($templateFile)
public function parseTemplateData($templateData)
private function parseMatchedText($matches)
private function encodeSpecialChars(&$string)
public function add($key, $value, $encode=true, $utf8_decode=true)
public function delete($key)
public function clear($resetHTML=false)
public function echoHTML($resetHTML=true)
public function getHTML($resetHTML=true)
} // class tParser
See also: dbConnect, dbConnectLE, dbglossary, dbMultipleChoice, dbWatchSite, dirlist, dwoo, feedback, imageOptimizer, imageTweak, keep in touch, kitdirlist, multiple-educated, newsletter, shortlink, dropletsExtension, flexTable, kitForm, kitTools, manufakturGallery, pChart , permaLink
TagCloud