What does LA_PRE in php code mean? Solution

Source: Internet
Author: User
What does LA_PRE in php code mean? There is a php code segment, as shown below. I would like to ask LA_PRE. What is this usage. What does code mean? Can you help me explain it? Private & nbsp; $ db; private & nbsp; $ role_table; private & nbsp; $ admin_table; what does LA_PRE in private & nb php code mean?
There is a php code segment, as shown below. I would like to ask LA_PRE. What is this usage. What does code mean? Can you help me explain it?
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 ';
}

------ Solution --------------------
This is not a property of php itself, it is a defined constant. here you should refer to the defined table prefix.
------ Solution --------------------
Constant

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.