沪ICP备16003146号-2
沪公网安备 31010702004922号
萌ICP备20238488号
网站已运行 8 年 100 天 14 小时 49 分
8 online · 59 ms
Category
📂烂笔头
好记性不如烂笔头。
62篇





2年前 · 烂笔头






2年前 · 烂笔头


2年前 · 烂笔头
Typecho的语法及函数,实在记不住,而且每次都要去百度一遍,着实是麻烦。还是自己保存下来吧,方便查阅!文章内容均来自网络,并整合。模板常用函数1、站点网址<?php $this->options->title() ?>2、站点网址<?php $this->options ->siteUrl(); ?>3、完整路径标题如分享几个 Typecho 中常用的调用函数<?php $this->archiveTitle(' » ', < span class="string">'', '
2年前 · 烂笔头
public class MapDataUtil
{
public static Map<String, Object> convertDataMap(HttpServletRequest request)
{
Map<String, String[]> properties = request.getParameterMap();
Map<String, Object> returnMap = new HashMap<String, Object>();
Iterator<?
2年前 · 烂笔头
String工具 主要对 StringUtils 的一些方法进行重写,达到更方便的使用 /**
* 字符串工具类
*
* @author Chrison
*/
public class StringUtil extends org.apache.commons.lang3.StringUtils
{
/** 空字符串 */
private static final String NULLSTR = "";
/** 下划线 */
private static final char SEPARATOR = '_';
/
2年前 · 烂笔头