Home  >  Article  >  Backend Development  >  php得数组使用'label'=>('abc''xyz');相仿这样的形式,是什么意思

php得数组使用'label'=>('abc''xyz');相仿这样的形式,是什么意思

WBOY
WBOYOriginal
2016-06-13 11:53:141182browse

php得数组使用'label'=>__('abc','xyz');类似这样的形式,是什么意思?
在学习别人写的代码中时候发现,php得数组使用'label'=>__('abc','xyz');类似这样的形式,是什么意思?
他的具体代码是如下所示:

'fbuilder_layout' => array(<br />		'input_class' => 'fbuilder_layout',<br />		'type' => 'select',<br />		'label' => __('Page layout','frontend-builder'),<br />)

------解决方案--------------------
__() 是个函数,只是调用函数而已。

Statement:
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