defyma/nine-grid-classification 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

defyma/nine-grid-classification

Composer 安装命令:

composer require defyma/nine-grid-classification

包简介

Implement 9 Grid Classification

README 文档

README

Simple helper for implement 9 Grid Classification.

Example case for 9-Grid Tallent Management

Example Grid

Install:

composer require defyma/nine-grid-classification 

Usage:

...
$_9Grid = new \defyma\helper\NineGridClassification();
$_9Grid->setPoint($X, $Y, $X1, $X2, $Y1, $Y2);
$classification = $_9Grid->calculate($scoreX, $scoreY);
...

Example:

...
$_9Grid = new \defyma\helper\NineGridClassification();
$_9Grid->setPoint(6,6);
$classification = $_9Grid->calculate(1, 5);

echo $classification; \\ 7
...
...
$_9Grid = new \defyma\helper\NineGridClassification();
$_9Grid->setPoin(6,6,4,5,3,5);
$classification = $_9Grid->calculate(1, 5);

echo $classification; \\ 4
...

API:

setPoin

  • $X is Axis X | required
  • $Y is Axis Y | required
  • $X1 is Point X1
  • $X2 is Point X2
  • $Y1 is Point Y1
  • $Y2 is Point Y2

calculate

  • $scoreX is score Y | required
  • $scoreY is score Y | required

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-08-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固