Grimport functions

actionError ( thread action )
activeFlexibleComparaison ( boolean trueOrFalse )
addCookie ( string name , string value , string _url )
addLink ( string link , int _depth )
alert ( string message )
allowCommandSending ( )
arrayContains ( list/map array , object search )
arrayUnique ( array list )
base64Decode ( string txt )
base64Encode ( string txt )
bbcodeToHtml ( string html )
blockCommandSending ( )
capitalize ( string txt , int _policy )
ceil ( number number )
changeProxy ( string _pageForConnectionTest , array _dataTabForTest , int default:1 _frequencyToChange , string _nordVpnAccesses )
changeProxyOpenVPN ( int eachMinutes , string exePathOpenVPN , string default:home_page _pageForConnectionTest , array _dataTabForTest )
cleanBlanks ( string txt )
cleanFor ( string text , string _typeOfCleanning , int _maxCaracter )
cleanRegex ( string regex , string _code , string _postProcessing , int _numberOfMask )
cleanRegexAll ( string regex , string _code , string _postProcessing , int _numberOfMask )
cleanSelect ( string cssSelector , string _code , string _selection , string _postProcessing )
cleanSelectAll ( string cssSelector , string _code , string _selection , string _postProcessing )
clearAllCookies ( )
clearCookie ( string _urlDomain )
csv ( string path , array[string] data , string _separator , string _quoteChar , string _escapeChar )
csvToArray ( string path , string _separator , string _lineEnd , boolean _isHeaders )
cutAtWord ( string txt , int nbChars )
delete ( string path )
display ( string message , boolean[default:false] withoutLineBreak , boolean[default:false] displayThreadId )
displayCommands ( )
download ( string url , string path )
ean12ToEan13 ( string ean12 )
elementToArray ( string code )
extract ( string zipPath , string destinationFolder , string _type )
formatDate ( string format , long timestamp )
formatPrice ( number number , string destinationFolder )
ftpDownload ( string server , string login , string password , string pathOnServer , string pathOnDisk , int _port )
ftpRemove ( string server , string login , string password , string path , int _port )
ftpUpload ( string server , string login , string password , string pathServer , string pathDisk , int _chmod , int _port )
function ( string function_name , array arguments )
functionNow ( string function_name , array arguments )
functionNowExternal ( array communicationLink , string function_name , array arguments )
generateCombinations ( array ids_attributes_of_combination1 , array ids_attributes_of_combination2 , array ... )
generateCombinationsWithAttributeCodes ( array maps )
generateReference ( string germ , int _size , int _base )
getAttribute ( int combination_id , string search , boolean _isCloserSearch , boolean _returnList )
getAttributes ( )
getAttributesToCombinations ( )
getCategories ( )
getCategoriesPaths ( )
getCategory ( string search , boolean _usePath , boolean _isCloserSearch , boolean _returnList )
getCategoryIn ( string search , string parentCategory , boolean _returnPath , boolean _isCloserSearch , boolean _returnList )
getCombination ( string search , boolean _isCloserSearch , boolean _returnList )
getCombinations ( )
getCookieValue ( string _url )
getCSRF ( string url , array[string] _data , string _referer )
getDepth ( )
getExtensionByMime ( string pathFileOnDisk )
getFeature ( string search , boolean _isCloserSearch , boolean _returnList )
getFeatures ( )
getFeatureValue ( int feature_id , string search , boolean _isCloserSearch , boolean _returnList )
getFeatureValues ( )
getFValueToFeature ( )
getHeaders ( string url , array[string] _data , string _referer )
getHost ( string url )
getManufacturer ( string search , boolean _isCloserSearch , boolean _returnList )
getManufacturers ( )
getMimeFromUrl ( string url )
getNumberOfUrlsToVisit ( )
getOrCreateCategory ( int idCategory , string categoryName , string parentCategoryID )
getOrderAI ( string search , map list , boolean _isCloserSearch , boolean _returnList )
getPage ( string url , boolean _ignoreContentType )
getParentCategory ( int id_category )
getSupplier ( string search , boolean _isCloserSearch , boolean _returnList )
getSuppliers ( )
getValuesOfFeature ( int id_feature )
gzExtract ( string source , string destination )
hmacsha256 ( string key , string data )
htmlToPrice ( string html , int _nbOfDecimal )
httpHeader ( string headerName , string headerValue , boolean _temporary )
imapRead ( string mailServer , string login , string password , array _filterQuery , string|default:content _typeOfReturn , string|default:993 _port , array _options )
interact ( string script )
isAttributeCode ( string attribute_code )
isEan13 ( string txt )
isEnd ( )
isFirst ( )
isPeriodicLogin ( int frequency )
join ( array array , string|default:',' _separator )
jsonDecode ( string jsonText , boolean _convertToMap )
keepJustDeepestCategories ( boolean onOrOff )
keyKicker ( object key )
loadOrCreateObject ( string name , object objectValueIfCreated , bool|default:true _isDisplayWarning )
md5 ( string text )
md5File ( string path )
merge ( array_map list1 , array_map list2 , array_map ... )
mutliFunctionNow ( array calls )
nl2br ( string text )
nowFormat ( string format )
number ( string text , boolean|default:false _toInteger , boolean|default:false _canBeNegative )
numberOfRegex ( string regex , string _code )
openFile ( string path )
openUrl ( string url )
operation ( string operation )
parallelize ( list list , int nbThreads , closure method )
path ( string type )
permutations ( array array )
php ( string command )
phpBigCommandsByLine ( string commands )
phpNow ( string command )
phpNowJson ( string command )
post ( string url , map[string:string] _postData , boolean _activeComplexEncodingDetection , string _referer )
postBinary ( string url , map[string:string] postData , string path )
postBody ( string url , string body , string _contentType )
postFile ( string url , map[string:string] postData , map _files , array _files_names )
proxyChange ( map arguments )
random ( int maxNumber , boolean|default:false _isInt )
read ( string path )
readExcel ( string path , boolean isXLSXformat , int row , int column , int _sheet )
regex ( string regex , string _code , int _numberOfMask )
regexAll ( string regex , string _code , int _numberOfMask )
reinsertUploadedImagesInDescription ( string description , string _pathOnYourServer )
relToAbsLink ( string relativeLink , string base )
removeElement ( string code , string cssSelector )
removeNoASCIIChars ( string text )
removeOtherTagsThan ( string code , array listOfTags , boolean _withInnerHTML )
removeProductsNotVisited ( )
removeTags ( string code , array listOfTags , boolean _withInnerHTML )
replaceCookieField ( string cookieFieldName , string value , string _url )
replaceInAllLinks ( string regex , string _toReplace )
replaceInAllLinksNow ( string regex , string _toReplace )
roundAt ( number number , float precision )
runLauncher ( string launcherName )
saveObject ( string name , object objectValue , int|default:1 _saveAllXiterations )
select ( string cssSelector , string _code , string _selection )
selectAll ( string cssSelector , string _code , string _selection )
selectAllInCode ( string cssSelector , string _code , string _selection )
selectInCode ( string cssSelector , string _code , string _selection )
send ( )
sendNowCommandsInStack ( )
separateByRegexStart ( string regex , string _code )
serialize ( object object )
serpGoogle ( string searchExpression , int[default:1] page , string[default:google.com] search_engine , string[default:en] language , int[default:US] country , int[default:100] numberOfResults , bool[default:true] excludePDF )
setBingAccess ( string bingClientId , string bingClientSecret )
setCookie ( string url , array[string] _data , string _referer , int _frequency_refresh , string _method )
setCookieBody ( string url , string body , string _referer , int _frequency_refresh , string _method )
setCookieFile ( string url , array[string] _data , string _referer , int _frequency_refresh , map _files , array _files_names )
setCookieValue ( string cookie , string _url )
setDeeplAccess ( string apiKey )
setFrenglyAccess ( string email , string login )
setFrequencySending ( int frequency )
setGoogleAccess ( string token )
setUserAgent ( string newUserAgent )
setWatsonAccess ( string whatsonKey , string serviceURL )
setYandexAccess ( string yandexKey )
shopifySQLRequest ( string graphQLrequest )
signedNumber ( string text , boolean|default:false _toInteger )
sleep ( int milliseconds )
soapRequest ( string urlEndPoint , string xmlns , string soapAction , map entry , string _loginPass )
solveCaptcha ( string urlOfImage , string _imageExtension , string _pathToImagick , string _pathToTesseract )
splitSentence ( string html , int _nbOfCaraters )
sql ( string query )
sqlEscape ( object toInsert )
sqlQuery ( string driver , string urlOfConnection , string login , string password , string sqlQuery , string|default:execute _returnType )
standardizeText ( string text , mixed _typeOfStandardization )
stripTags ( string html )
strPad ( string text , int length , string padCar , string text , string _padDirection )
substring ( string txt , int indexBegin , int _indexEnd )
synchronize ( object/string locker , closure method )
tableToArray ( string htmlOfTheTable )
timestamp ( )
toLowerCase ( string txt )
toString ( object obj1 , object obj2 , object ... )
toUpperCase ( string txt )
transformDate ( string txtDate , string formatFrom , string formatTo )
translateBing ( string text , string from , string to )
translateDeepl ( string text , string from , string to )
translateFrengly ( string text , string from , string to )
translateGoogle ( string text , string from , string to )
translateMyMemory ( string text , string from , string to )
translateWatson ( string text , string from , string to )
translateYandex ( string text , string from , string to )
trim ( string txt )
trimCaracter ( string txt , string caracterToTrim )
trimRegex ( string txt , string regex , string|default:(?si) flags )
trimWithTags ( string txt )
try_ ( )
unzip ( string zipPath , string destinationFolder )
updateCategories ( string _idLang )
updateCombinations ( string _idLang )
updateFeatures ( string _idLang )
updateManufacturers ( string _idLang )
updateSuppliers ( string _idLang )
upload ( string filepathOnYourDisk , string _pathOnYourServer , boolean|default:false _returnPathOnServer )
urlDecode ( string textOrUrl , boolean _excludeHttpCaracters )
urlEncode ( string textOrUrl , boolean _excludeHttpCaracters )
utf8Decode ( string text )
utf8Encode ( string text )
write ( string path , string text )
writeEnd ( string path , string text )