Home > Backend Development > PHP Tutorial > php代码中的LA_PRE什么意思?

php代码中的LA_PRE什么意思?

WBOY
Release: 2016-06-23 14:01:30
Original
1087 people have browsed it

有段php代码,如下,想请教LA_PRE.这是什么用法。代码是什么意思呢?能帮忙解释一下吗?
private $db;
private $role_table;
private $admin_table;
private $admin_log;

function __construct()
{
global $db;
$this->db=$db;
$this->role_table=LA_PRE.'adminrole';
$this->admin_table=LA_PRE.'admin';
$this->admin_log=LA_PRE.'admin_log';
}


回复讨论(解决方案)

这不是php自身的属性,是定义的常量,看你此处的意思应该是定义的表前缀

常量

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template