FastPlaz

FastPlaz

  • Docs
  • MVC
  • ORM
  • FTE
  • Help
  • Release

›Konsep & Fitur

Pengantar

  • Ctrl+Alt+Del
  • Arsitektur (MVC)
  • Instalasi

Konsep & Fitur

  • ORM
  • Template Engine
  • Variabel Global
  • Method
  • Helper
  • Common Function

Penggunaan

  • Create New Project
  • Controller
  • Model
  • Routing

Latihan

  • Default Package
  • Akses Database
  • API (echo)
  • REST API

Showcase

  • Showcase
  • Gallery

Utilitas

  • Database Explorer
  • JSON Validator
  • Regex Tester
  • Reveal in Explorer/Finder

Common Function

function and procedure list in FastPlaz.

Converter

NameDescription
i2sConvert Integer to String (with execption handler)
s2iConvert String to Integer (with execption handler)
f2sConvert Float to String (with execption handler)
s2fConvert String to Float (with execption handler)
b2iConvert Boolean to Integer
b2isConvert Boolean to String (1/0)
b2sConvert Boolean to String (True/False)
HexToIntConvert Hexa string to integer
MarkdownToHTMLConvert Markdown to HTML
StreamToStringConvert Stream to String
ISO8601ToDateTimeConvert Convert an ISO 8601 string to a TDateTime
StringHumanToNominals := StringHumanToNominal('satu juta lima ratus dua puluh');
StringHumanToDateTheDate := StringHumanToDate('17 agustus 1945');

String

NameDescription
isEmptyDetermine whether a variable is empty
isRegexDetermine whether a variable is regex string
isWordDetermine whether a variable is word
isURLDetermine whether a variable is url
isIPAddressDetermine whether a variable is ip address
isEmailDetermine whether a variable is email
isDomainDetermine whether a variable is domain
RandomStringGenerate Random String
ReplaceAll
StrInArrayDetermine whether a String is in Array
See Array Helper for other option.
StringCut
StringsExists
StripCharsInSet
StripHTMLStrip HTML Tags from a string
StripNumberStrip number from a string
StripNonAsciiRemove Non ASCII Character
StripNonNumberStrip non-number from a string
StrstrFind the first occurrence of a string
UCStoString

PHP refactor

NameDescription
base64_encodeEncodes data with MIME base64
base64_decodeDecodes data encoded with MIME base64
EchoOutput a message (string/integer/double)
DieOutput a message and terminate the current script
ExplodeSplit a string by a string
file_get_contentsReads entire file into a string
ImplodeJoin array elements with a string
mysql_real_escape_stringEscapes special characters in a string for use in an SQL statement
preg_matchPerform a regular expression match
preg_replacePerform a regular expression search and replace
StripTagsStrip HTML and PHP tags from a string
ucwordsUppercase the first character of each word in a string
UrlEncodeURL-encodes string
UrlDecodeDecodes URL-encoded string

Others

NameDescription
AppendPathDelimAdd path delimiter from a path
DirectoryIsWritableDetermine whether a directory is writeable or not
DownloadFileDownload form url
FileCopy
GetHostNameIPGet IP from host name
GetUserIpAddressGet user's current ip
HTMLDecode
IsJsonValidJSON string validation
jsonGetDataGet string from a JSON Data (TJsonData)
LoadCacheRead a string from cache. Cache time = 1 hour
LoadFromFileLoad string from a file
OutputJsonOutput a json message and result code
SaveCacheSave a string to cache
SaveToFileSave string to a file
ScanFolderGet file list from a folder/directory
ZipFolderCompress a folder to a .zip file
← HelperCreate New Project →
  • Converter
  • String
  • PHP refactor
  • Others
FastPlaz
Docs
Getting StartedFastPlaz Theme EngineContribution
Community
User ShowcasePascal IndonesiaPascal Indonesia on Telegram
More
BlogGitHubStar
FastPlaz Web Framework
Copyright © 2023 FastPlaz - Built with Docusaurus