本文整理汇总了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;
}
}
}
示例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');
}
}
?>
示例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');