本文整理匯總了PHP中JFormFieldList::__get方法的典型用法代碼示例。如果您正苦於以下問題:PHP JFormFieldList::__get方法的具體用法?PHP JFormFieldList::__get怎麽用?PHP JFormFieldList::__get使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類JFormFieldList
的用法示例。
在下文中一共展示了JFormFieldList::__get方法的10個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: __get
/**
* Method to get certain otherwise inaccessible properties from the form field object.
*
* @param string $name The property name for which to the the value.
*
* @return mixed The property value or null.
*
* @since 3.6
*/
public function __get($name)
{
switch ($name) {
case 'allowAdd':
return $this->{$name};
}
return parent::__get($name);
}
示例2: __get
/**
* Method to get certain otherwise inaccessible properties from the form field object.
*
* @param string $name The property name for which to the the value.
*
* @return mixed The property value or null.
*
* @since 3.2
*/
public function __get($name)
{
switch ($name) {
case 'folder':
return $this->{$name};
}
return parent::__get($name);
}
示例3: __get
/**
* Method to get certain otherwise inaccessible properties from the form field object.
*
* @param string $name The property name for which to the the value.
*
* @return mixed The property value or null.
*
* @since 3.2
*/
public function __get($name)
{
switch ($name) {
case 'forceMultiple':
case 'checkedOptions':
return $this->{$name};
}
return parent::__get($name);
}
示例4: __get
public function __get($name)
{
switch ($name) {
case 'filter':
case 'directory':
return $this->{$name};
}
return parent::__get($name);
}
示例5: __get
/**
* Method to get certain otherwise inaccessible properties from the form field object.
*
* @param string $name The property name for which to the the value.
*
* @return mixed The property value or null.
*
*/
public function __get($name)
{
switch ($name) {
case 'element':
return $this->{$name};
break;
}
$value = parent::__get($name);
return $value;
}
示例6: __get
/**
* Method to get certain otherwise inaccessible properties from the form field object.
*
* @param string $name The property name for which to the the value.
*
* @return mixed The property value or null.
*
* @since 3.2
*/
public function __get($name)
{
switch ($name) {
case 'keyField':
case 'valueField':
case 'translate':
case 'query':
return $this->{$name};
}
return parent::__get($name);
}
示例7: __get
/**
* Method to get certain otherwise inaccessible properties from the form field object.
*
* @param string $name The property name for which to the the value.
*
* @return mixed The property value or null.
*
* @since 3.2
*/
public function __get($name)
{
switch ($name) {
case 'filter':
case 'exclude':
case 'hideNone':
case 'hideDefault':
case 'directory':
return $this->{$name};
}
return parent::__get($name);
}
示例8: __get
/**
* Method to get certain otherwise inaccessible properties from the form field object.
*
* @param string $name The property name for which to the the value.
*
* @return mixed The property value or null.
*
* @since 1.2.0
*/
public function __get($name)
{
switch ($name) {
case 'exclude':
return $this->{$name};
/* @deprecated >= J3.2 */
/* @deprecated >= J3.2 */
case 'class':
return $this->{$name};
/* @enddeprecated >= J3.2 */
}
return parent::__get($name);
}
示例9: __get
/**
* Method to get certain otherwise inaccessible properties from the form field object.
*
* @param string $name The property name for which to the the value.
*
* @return mixed The property value or null.
*
* @since 2.0
*/
public function __get($name)
{
switch ($name) {
case 'static':
if (empty($this->static)) {
$this->static = $this->getStatic();
}
return $this->static;
break;
case 'repeatable':
if (empty($this->repeatable)) {
$this->repeatable = $this->getRepeatable();
}
return $this->repeatable;
break;
default:
return parent::__get($name);
}
}
示例10: __get
/**
* Method to get certain otherwise inaccessible properties from the form field object.
*
* @param string $name The property name for which to the the value.
*
* @return mixed The property value or null.
*
* @since 1.2.0
*/
public function __get($name)
{
switch ($name) {
case 'inputType':
case 'checked':
case 'context':
case 'states':
case 'modes':
return $this->{$name};
/* @deprecated >= J3.2 */
/* @deprecated >= J3.2 */
case 'class':
return $this->{$name};
/* @enddeprecated >= J3.2 */
}
return parent::__get($name);
}