当前位置: 首页>>代码示例>>PHP>>正文


PHP QConvertNotation::UnderscoreFromCamelCase方法代码示例

本文整理汇总了PHP中QConvertNotation::UnderscoreFromCamelCase方法的典型用法代码示例。如果您正苦于以下问题:PHP QConvertNotation::UnderscoreFromCamelCase方法的具体用法?PHP QConvertNotation::UnderscoreFromCamelCase怎么用?PHP QConvertNotation::UnderscoreFromCamelCase使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在QConvertNotation的用法示例。


在下文中一共展示了QConvertNotation::UnderscoreFromCamelCase方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __set

 public function __set($strName, $mixValue)
 {
     // These are included here because this class is constructed before code generation
     // include_once(__INCLUDES__ . '/qcodo/_core/codegen/QConvertNotationBase.class.php');
     include_once __INCLUDES__ . '/qcodo/codegen/QConvertNotation.class.php';
     switch ($strName) {
         ///////////////////
         // Member Variables
         ///////////////////
         default:
             try {
                 $objAdminSetting = AdminSetting::LoadByShortDescription(QConvertNotation::UnderscoreFromCamelCase($strName));
                 $objAdminSetting->Value = $mixValue;
                 return $objAdminSetting->Save();
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
开发者ID:heshuai64,项目名称:einv2,代码行数:20,代码来源:TracmorSettings.class.php

示例2: btnDelete_Click

		}

		protected function btnDelete_Click($strFormId, $strControlId, $strParameter) {
			// Delegate "Delete" processing to the <?php 
echo $objTable->ClassName;
?>
MetaControl
			$this->mct<?php 
echo $objTable->ClassName;
?>
->Delete<?php 
echo $objTable->ClassName;
?>
();
			$this->RedirectToListPage();
		}

		protected function btnCancel_Click($strFormId, $strControlId, $strParameter) {
			$this->RedirectToListPage();
		}

		// Other Methods

		protected function RedirectToListPage() {
			QApplication::Redirect(__VIRTUAL_DIRECTORY__ . __FORM_DRAFTS__ . '/<?php 
echo QConvertNotation::UnderscoreFromCamelCase($objTable->ClassName);
?>
_list.php');
		}
	}
?>
开发者ID:tomVertuoz,项目名称:framework,代码行数:31,代码来源:_qform_edit_base.tpl.php

示例3:

	}

//	protected function Form_Load() {}

<?php 
include 'edit_form_create.tpl.php';
?>

<?php 
include 'edit_create_buttons.tpl.php';
?>

<?php 
include 'edit_button_click.tpl.php';
?>

}

// Go ahead and run this form object to render the page and its event handlers, implicitly using
// <?php 
echo QConvertNotation::UnderscoreFromCamelCase($strPropertyName);
?>
_edit.tpl.php as the included HTML template file
<?php 
echo $strPropertyName;
?>
EditForm::Run('<?php 
echo $strPropertyName;
?>
EditForm');
开发者ID:vaibhav-kaushal,项目名称:qc-framework,代码行数:30,代码来源:_qform_edit.tpl.php


注:本文中的QConvertNotation::UnderscoreFromCamelCase方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。