The open-source forum system YouYaX 12th has been released.

Source: Internet
Author: User
The open source forum system YouYaX 12th has been released ~ The main content of this update is 1. add CommonAction. php & nbsp; public controller file 2. when referencing others' published information, the referenced person will receive a message notification 3. as described in 1, move the repeated code from other controllers to the public controller. why cannot I add the function to the public file. p open-source forum system YouYaX 12th is released ~
The main content of this update is:
1. added the CommonAction. php public controller file.
2. when referencing others' posted information, the referenced person receives a message
3. as described in 1, move repeated code from other controllers to the public controller.

Why can't I add a function to the common. php public file and create a public controller,

Because common. php does not inherit the YouYaX class and cannot call the required function with $ this,

CommonAction. php the static method can call non-static methods in the YouYaX class, but cannot call non-static variables,

Details: http://www.youyax.com/forum/Content-index-id-4994.shtml

: Http://www.youyax.com


------ Solution --------------------

------ Solution --------------------
Okay, new guy. I don't know much about it ......

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.