For instructions on the LazyPHP framework, how can this problem be solved?

Source: Internet
Author: User
For instructions on the LazyPHP framework, how can this problem be solved? $ Data ['title'] = $ data ['top _ title'] = 'homepage ';
What does the last "homepage" mean?
Is the render function equivalent to $ ob-> assign?


Reply to discussion (solution)

$ Data ['title'] = $ data ['top _ title'] = 'homepage ';
Assign values to $ data ['title'] and $ data ['top _ title ']

The render function is used to load and execute the template.
The template is still php-html mixed code
LazyPHP is only responsible for scheduling between modules

The sample file needs to run in the environment where the short mark is enabled

Because there is no template engine or ORM, 1.18 M is too bloated.

$ Data ['title'] = $ data ['top _ title'] = 'homepage ';
What does the last "homepage" mean?
Is the render function equivalent to $ ob-> assign?

Lahan, you can't do it.

Isn't the equal sign a value mean?

Related Article

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.