Internal $D Methods
Last updated
Last updated
$D.eval()
or $D.getValueFromTemplate()
Getting the field value of the current object$D.store.get()
Getting an object from a different structure$D.store.save()
Saving an object$D.store.find
Searching for objectsResult is an array of objects.
$D.console.log()
Console logging$D.fs.download()
Saving files to the internal file storage $D.fs.saveText()
Saving text to fileFunction returns link to the file in Dirctual storage
$D.image.resize()
Resizing images $D.concat()
Adding an element into array while avoiding duplication$D.splice()
Removing elements from an array $D.hash.md5()
, $D.hash.bcrypt()
, $D.hash.sha256()
$D.arrayContainsAny()
Checking if an array contains at least one element $D.arrayContainsAll()
Checking if an array contains all elements$D.json.fromXML()
Converting XML to JSONEncode
If the 'expiration' (exp field) is undefined, set the current timestamp in seconds based on UTC time.
Decode
If the expiration date is earlier than the current time, this function will throw an exception.
filters
(the second argument) syntax is the same for
This function downloads and saves files to the .
This function resizes images and saves the result to the
You can select the encryption method for user passwords in the .