iamthes / useful-functions
There is no license information available for the latest version (dev-master) of this package.
Useful functions.
dev-master
2014-01-11 10:20 UTC
This package is not auto-updated.
Last update: 2024-11-09 14:47:50 UTC
README
UsefulFunctions: Description ============================ This plugin do nothing as standalone. This plugin is used by other plugins and applications, using specific functions which doesn't exists in Garden core. Provides functions for: - render elements - validation - manipulate arrays and objects - work with files (upload, remove, etc.) - process images (thumbnaills, sprites, etc.) - run various common sql queries - load html document or file to phpQuery - translate short phrase by Google or Lingvo - debug, etc. Also: - allow plugins to run time-based schedule code (like cron) - nested sets tree model SETUP ===== Add folowing line to cron task file ('crontab -e') */5 * * * * /usr/local/bin/php -q /home/www/htdocs/plugins/UsefulFunctions/bin/tick.php CONFIGURATION ============= $Configuration['Plugins']['UsefulFunctions']['Console']['MessageEnconding'] = 'cp866'; Ecoding for messages in command line mode. $Configuration['Plugins']['UsefulFunctions']['Console']['Check'] = TRUE; By default you cant run command line scripts from browser. Set this to False to disable checking. $Configuration['Plugins']['UsefulFunctions']['ImPath'] = '/usr/local/bin/'; ImageMagick path. If you are on Windows, this value can be c:\Program Files\ImageMagick\ $Configuration['Plugins']['UsefulFunctions']['LoremIpsum']['Language'] = 'latin'; Lorem ipsum text language: latin - Standard Lipsum noIpsum - Don't start with "Lorem Ipsum" Other values: greek, hindi, russian, arabic, hebrew, letzebuergesch, etc. See full list at http://generator.lorem-ipsum.info/lorem-ipsum-copy UPGRADE FROM PLUGINUTILS ======================== Some old plugins require PluginUtils plugin. You can keep it. But very recomended to remove it, and use UsefulFunctions instead. Open conf/config.php and do search & replace operation: PluginUtils => UsefulFunctions CHANGELOG ========= None. EXTERNAL CRON SERVICES ====================== http://www.cronjobservices.com http://www.crondroid.com/ http://www.mywebcron.com/ http://www.easycron.com/ http://www.cronjobs.org/ http://www.setcronjob.com/ http://cronjob.ru/