定制 iamthes/useful-functions 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

iamthes/useful-functions

Composer 安装命令:

composer require iamthes/useful-functions

包简介

Useful functions.

README 文档

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/

统计信息

  • 总下载量: 81
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2012-12-26