ct_null.inc

来自「PHPLOB注释详细版 使用模板技术的好帮手 PHP最有用的东东了」· INC 代码 · 共 50 行

INC
50
字号
<?php#### Copyright (c) 1998-2000 Sascha Schumann <sascha@schumann.cx>#### $Id: ct_null.inc,v 1.2 2000/07/12 18:22:33 kk Exp $#### PHPLIB Data Storage Container using nothing## ## I wrote this for a quickie test of a website on a server## where I could not use any other container## ## It's also a good skeleton for writing a new containerclass CT_Null {	function ac_start() {	}	function ac_get_lock() {	}	function ac_release_lock() {	}	function ac_newid($str, $name) {		return $str;	}	function ac_store($id, $name, $str) {		return true;	}	function ac_delete($id, $name) {	}	function ac_gc($gc_time, $name) {	}	function ac_halt($s) {		echo "<b>$s</b>";		exit;	}	function ac_get_value($id, $name) {		return "";	}}?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?