本文整理汇总了PHP中html_entity_to_alpha函数的典型用法代码示例。如果您正苦于以下问题:PHP html_entity_to_alpha函数的具体用法?PHP html_entity_to_alpha怎么用?PHP html_entity_to_alpha使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了html_entity_to_alpha函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: setForm
function setForm()
{
/*
$this->formatCurrency("marketValue1");
$this->formatCurrency("assessedValue1");
$this->formatCurrency("marketValue2");
$this->formatCurrency("assessedValue2");
$this->formatCurrency("marketValue3");
$this->formatCurrency("assessedValue3");
$this->formatCurrency("marketValue4");
$this->formatCurrency("assessedValue4");
$this->formatCurrency("marketValue5");
$this->formatCurrency("assessedValue5");
$this->formatCurrency("marketValue6");
$this->formatCurrency("assessedValue6");
*/
$this->formatCurrency("totalMarketValue");
$this->formatCurrency("totalAssessedValue");
foreach ($this->formArray as $key => $value) {
if ($key == "landitems" || $key == "plantitems") {
$this->tpl->set_var($key, $value);
} else {
$this->tpl->set_var($key, html_entity_to_alpha($value));
}
}
}
示例2: setForm
function setForm()
{
// NCC Modification checked and implemented by K2 : November 21, 2005
// details:
// - added formatCurrency() lines for marketValue and assessedValue 4, 5, and 6 in lines 118 to 123
// - commented out lines 111 to 124
// - added if() for "landitems" || "plantitems" in line 130
/*
$this->formatCurrency("marketValue1");
$this->formatCurrency("assessedValue1");
$this->formatCurrency("marketValue2");
$this->formatCurrency("assessedValue2");
$this->formatCurrency("marketValue3");
$this->formatCurrency("assessedValue3");
$this->formatCurrency("marketValue4");
$this->formatCurrency("assessedValue4");
$this->formatCurrency("marketValue5");
$this->formatCurrency("assessedValue5");
$this->formatCurrency("marketValue6");
$this->formatCurrency("assessedValue6");
*/
$this->formatCurrency("totalMarketValue");
$this->formatCurrency("totalAssessedValue");
foreach ($this->formArray as $key => $value) {
if ($key == "landitems" || $key == "plantitems") {
$this->tpl->set_var($key, $value);
} else {
$this->tpl->set_var($key, html_entity_to_alpha($value));
}
}
}
示例3: setForm
function setForm()
{
$this->formArray["totalTaxDue"] = formatCurrency($this->formArray["totalTaxDue"]);
foreach ($this->formArray as $key => $value) {
$this->tpl->set_var($key, html_entity_to_alpha($value));
}
}
示例4: setForm
function setForm()
{
$this->formArray["noticeDate"] = date("F d, Y", strtotime($this->formArray["noticeDate_year"] . "-" . putPreZero($this->formArray["noticeDate_month"]) . "-" . putPreZero($this->formArray["noticeDate_day"])));
foreach ($this->formArray as $key => $value) {
$this->tpl->set_var($key, html_entity_to_alpha($value));
}
}
示例5: setForm
function setForm()
{
$this->formatCurrency("landTotal");
$this->formatCurrency("valAdjFacTotal");
$this->formatCurrency("propertyAdjMrktValTotal");
$this->formatCurrency("propertyTotal");
foreach ($this->formArray as $key => $value) {
$this->tpl->set_var($key, html_entity_to_alpha($value));
}
}
示例6: setForm
function setForm()
{
$this->formatCurrency("totAcqCst");
$this->formatCurrency("totOthers");
$this->formatCurrency("totMrktVal");
$this->formatCurrency("totalMarketValue");
$this->formatCurrency("totalAssessmentValue");
foreach ($this->formArray as $key => $value) {
$this->tpl->set_var($key, html_entity_to_alpha($value));
}
}
示例7: setForm
function setForm()
{
$this->formatCurrency("marketValue1");
$this->formatCurrency("assessedValue1");
$this->formatCurrency("marketValue2");
$this->formatCurrency("assessedValue2");
$this->formatCurrency("marketValue3");
$this->formatCurrency("assessedValue3");
/* this is an inserted */
$this->formatCurrency("marketValue4");
$this->formatCurrency("assessedValue4");
$this->formatCurrency("totalMarketValue");
$this->formatCurrency("totalAssessedValue");
foreach ($this->formArray as $key => $value) {
$this->tpl->set_var($key, html_entity_to_alpha($value));
}
}
示例8: setForm
function setForm()
{
$this->formatCurrency("valAdjFacTotal");
$this->formatCurrency("marketValue1");
$this->formatCurrency("marketValue2");
$this->formatCurrency("marketValue3");
$this->formatCurrency("marketValue4");
$this->formatCurrency("assessedValue1");
$this->formatCurrency("assessedValue2");
$this->formatCurrency("assessedValue3");
$this->formatCurrency("assessedValue4");
$this->formatCurrency("total");
$this->formatCurrency("propertyAdjMrktValTotal");
$this->formatCurrency("propertyTotal");
$this->formatCurrency("previousAssessedValue");
foreach ($this->formArray as $key => $value) {
$this->tpl->set_var($key, html_entity_to_alpha($value));
}
}
示例9: setForm
function setForm()
{
$this->formatCurrency("landTotal");
$this->formatCurrency("plantTotal");
$this->formatCurrency("unitValue1");
$this->formatCurrency("unitValue2");
$this->formatCurrency("unitValue3");
$this->formatCurrency("unitValue4");
$this->formatCurrency("unitValue5");
$this->formatCurrency("unitValue6");
$this->formatCurrency("unitValue7");
$this->formatCurrency("unitValue8");
$this->formatCurrency("unitValue9");
$this->formatCurrency("landMrktVal1");
$this->formatCurrency("landMrktVal2");
$this->formatCurrency("landMrktVal3");
$this->formatCurrency("landMrktVal4");
$this->formatCurrency("landMrktVal5");
$this->formatCurrency("landMrktVal6");
$this->formatCurrency("landMrktVal7");
$this->formatCurrency("landMrktVal8");
$this->formatCurrency("landMrktVal9");
$this->formatCurrency("unitPrice1");
$this->formatCurrency("unitPrice2");
$this->formatCurrency("unitPrice3");
$this->formatCurrency("unitPrice4");
$this->formatCurrency("unitPrice5");
$this->formatCurrency("unitPrice6");
$this->formatCurrency("unitPrice7");
$this->formatCurrency("unitPrice8");
$this->formatCurrency("unitPrice9");
$this->formatCurrency("plantMrktVal1");
$this->formatCurrency("plantMrktVal2");
$this->formatCurrency("plantMrktVal3");
$this->formatCurrency("plantMrktVal4");
$this->formatCurrency("plantMrktVal5");
$this->formatCurrency("plantMrktVal6");
$this->formatCurrency("plantMrktVal7");
$this->formatCurrency("plantMrktVal8");
$this->formatCurrency("plantMrktVal9");
$this->formatCurrency("valueAdjustment1");
$this->formatCurrency("valueAdjustment2");
$this->formatCurrency("valueAdjustment3");
$this->formatCurrency("valueAdjustment4");
$this->formatCurrency("valueAdjustment5");
$this->formatCurrency("valueAdjustment6");
$this->formatCurrency("valAdjFacMrktVal1");
$this->formatCurrency("valAdjFacMrktVal2");
$this->formatCurrency("valAdjFacMrktVal3");
$this->formatCurrency("valAdjFacMrktVal4");
$this->formatCurrency("valAdjFacMrktVal5");
$this->formatCurrency("valAdjFacMrktVal6");
$this->formatCurrency("valAdjFacAdjMrktVal1");
$this->formatCurrency("valAdjFacAdjMrktVal2");
$this->formatCurrency("valAdjFacAdjMrktVal3");
$this->formatCurrency("valAdjFacAdjMrktVal4");
$this->formatCurrency("valAdjFacAdjMrktVal5");
$this->formatCurrency("valAdjFacAdjMrktVal6");
$this->formatCurrency("propertyAdjMrktVal1");
$this->formatCurrency("propertyAdjMrktVal2");
$this->formatCurrency("propertyAdjMrktVal3");
$this->formatCurrency("propertyAdjMrktVal4");
$this->formatCurrency("propertyAdjMrktVal5");
$this->formatCurrency("assessedValue1");
$this->formatCurrency("assessedValue2");
$this->formatCurrency("assessedValue3");
$this->formatCurrency("assessedValue4");
$this->formatCurrency("assessedValue5");
$this->formatCurrency("valAdjFacTotal");
$this->formatCurrency("propertyAdjMrktValTotal");
$this->formatCurrency("propertyTotal");
$this->formatCurrency("previousAssessedValue");
foreach ($this->formArray as $key => $value) {
if ($key == "landitems" || $key == "plantitems" || $key == "adjitems" || $key == "summitems") {
$this->tpl->set_var($key, $value);
} else {
$this->tpl->set_var($key, html_entity_to_alpha($value));
}
}
}
示例10: setForm
function setForm()
{
$this->formatCurrency("lTotalMarketValue");
$this->formatCurrency("l2TotalMarketValue");
$this->formatCurrency("pTotalMarketValue");
$this->formatCurrency("bTotalMarketValue");
$this->formatCurrency("mTotalMarketValue");
$this->formatCurrency("totalMarketValue");
$this->formatCurrency("totalAssessedValue");
$this->formatCurrency("lTotalValueAdjustment");
$this->formatCurrency("lTotalAdjMarketValue");
$this->formatCurrency("l2TotalAdjMarketValue");
$this->formatCurrency("pTotalAdjMarketValue");
$this->formatCurrency1("lArea1");
$this->formatCurrency1("lArea2");
$this->formatCurrency1("lArea3");
$this->formatCurrency1("lArea4");
$this->formatCurrency1("lArea5");
$this->formatCurrency1("lArea6");
$this->formatCurrency("lUnitValue1");
$this->formatCurrency("lUnitValue2");
$this->formatCurrency("lUnitValue3");
$this->formatCurrency("lUnitValue4");
$this->formatCurrency("lUnitValue5");
$this->formatCurrency("lUnitValue6");
$this->formatCurrency("lMarketValue1");
$this->formatCurrency("lMarketValue2");
$this->formatCurrency("lMarketValue3");
$this->formatCurrency("lMarketValue4");
$this->formatCurrency("lMarketValue5");
$this->formatCurrency("lMarketValue6");
$this->formatCurrency1("l2Area1");
$this->formatCurrency1("l2Area2");
$this->formatCurrency1("l2Area3");
$this->formatCurrency1("l2Area4");
$this->formatCurrency1("l2Area5");
$this->formatCurrency("l2UnitValue1");
$this->formatCurrency("l2UnitValue2");
$this->formatCurrency("l2UnitValue3");
$this->formatCurrency("l2UnitValue4");
$this->formatCurrency("l2UnitValue5");
$this->formatCurrency("l2MarketValue1");
$this->formatCurrency("l2MarketValue2");
$this->formatCurrency("l2MarketValue3");
$this->formatCurrency("l2MarketValue4");
$this->formatCurrency("l2MarketValue5");
$this->formatCurrency("pUnitValue1");
$this->formatCurrency("pUnitValue2");
$this->formatCurrency("pUnitValue3");
$this->formatCurrency("pUnitValue4");
$this->formatCurrency("pUnitValue5");
$this->formatCurrency("pUnitValue6");
$this->formatCurrency("pUnitValue7");
$this->formatCurrency("pUnitValue8");
$this->formatCurrency("pUnitValue9");
$this->formatCurrency("pMarketValue1");
$this->formatCurrency("pMarketValue2");
$this->formatCurrency("pMarketValue3");
$this->formatCurrency("pMarketValue4");
$this->formatCurrency("pMarketValue5");
$this->formatCurrency("pMarketValue6");
$this->formatCurrency("pMarketValue7");
$this->formatCurrency("pMarketValue8");
$this->formatCurrency("pMarketValue9");
$this->formatCurrency("bFloorArea1");
$this->formatCurrency("bFloorArea2");
$this->formatCurrency("bFloorArea3");
$this->formatCurrency("bMarketValue1");
$this->formatCurrency("bMarketValue2");
$this->formatCurrency("bMarketValue3");
$this->formatCurrency("mOriginalCost1");
$this->formatCurrency("mDepreciation1");
$this->formatCurrency("mMarketValue1");
$this->formatCurrency("mOriginalCost2");
$this->formatCurrency("mDepreciation2");
$this->formatCurrency("mMarketValue2");
$this->formatCurrency("mOriginalCost3");
$this->formatCurrency("mDepreciation3");
$this->formatCurrency("mMarketValue3");
$this->formatCurrency("propertyMarketValue1");
$this->formatCurrency("propertyMarketValue2");
$this->formatCurrency("propertyMarketValue3");
$this->formatCurrency("propertyMarketValue4");
//add pre
$this->formatCurrency("propertyAssessedValue1");
$this->formatCurrency("propertyAssessedValue2");
$this->formatCurrency("propertyAssessedValue3");
$this->formatCurrency("propertyAssessedValue4");
$this->formatCurrency("swornLandTotal");
$this->formatCurrency("swornImprovementTotal");
$this->formatCurrency("swornOverallTotal");
$this->formatCurrency("findingsTotalArea");
// RC 20091006 Display 2 decimals not 4.
$this->formatCurrency("findingsTotalArea1");
$this->formatCurrency("findingsTotalArea2");
$this->formatCurrency("findingsTotalArea3");
$this->formatCurrency("findingsTotalArea4");
//end
foreach ($this->formArray as $key => $value) {
$this->tpl->set_var($key, html_entity_to_alpha($value));
//.........这里部分代码省略.........
示例11: setForm
function setForm()
{
foreach ($this->formArray as $key => $value) {
$this->tpl->set_var($key, html_entity_to_alpha($value));
}
}
示例12: setForm
function setForm()
{
$this->setLguDetails();
$this->formatCurrency("marketValue1");
$this->formatCurrency("assessedValue1");
$this->formatCurrency("basic1");
$this->formatCurrency("sef1");
$this->formatCurrency("totalTax1");
$this->formatCurrency("marketValue2");
$this->formatCurrency("assessedValue2");
$this->formatCurrency("basic2");
$this->formatCurrency("sef2");
$this->formatCurrency("totalTax2");
$this->formatCurrency("marketValue3");
$this->formatCurrency("assessedValue3");
$this->formatCurrency("basic3");
$this->formatCurrency("sef3");
$this->formatCurrency("totalTax3");
$this->formatCurrency("marketValue4");
$this->formatCurrency("assessedValue4");
$this->formatCurrency("basic4");
$this->formatCurrency("sef4");
$this->formatCurrency("totalTax4");
$this->formatCurrency("marketValue5");
$this->formatCurrency("assessedValue5");
$this->formatCurrency("basic5");
$this->formatCurrency("sef5");
$this->formatCurrency("totalTax5");
$this->formatCurrency("marketValue6");
$this->formatCurrency("assessedValue6");
$this->formatCurrency("basic6");
$this->formatCurrency("sef6");
$this->formatCurrency("totalTax6");
$this->formatCurrency("totalMarketValue");
$this->formatCurrency("totalAssessedValue");
$this->formatCurrency("totalBasic");
$this->formatCurrency("totalSef");
$this->formatCurrency("totalTaxes");
$this->formArray["pageNumber"] = $this->pageNumber;
foreach ($this->formArray as $key => $value) {
$this->tpl->set_var($key, html_entity_to_alpha($value));
}
$this->tpl->parse("PageBlock", "Page", true);
}
示例13: setDocNode
function setDocNode($elementName, $elementValue, $domDoc, $indexNode)
{
$nodeName = "";
$nodeText = "";
$nodeName = $domDoc->create_element($elementName);
$nodeName = $indexNode->append_child($nodeName);
$trans = get_html_translation_table(HTML_ENTITIES);
$elementValue = strtr(htmlentities($elementValue), $trans);
$elementValue = html_entity_to_alpha($elementValue);
$nodeText = $domDoc->create_text_node($elementValue);
//$nodeText = $domDoc->create_text_node(htmlentities($elementValue));
$nodeText = $nodeName->append_child($nodeText);
}
示例14: setForm
function setForm()
{
$this->formatCurrency("lTotalMarketValue");
$this->formatCurrency("l2TotalMarketValue");
$this->formatCurrency("pTotalMarketValue");
$this->formatCurrency("bTotalMarketValue");
$this->formatCurrency("mTotalMarketValue");
$this->formatCurrency("totalMarketValue");
$this->formatCurrency("totalAssessedValue");
$this->formatCurrency("lTotalAdjMarketValue");
$this->formatCurrency("l2TotalAdjMarketValue");
$this->formatCurrency("pTotalAdjMarketValue");
$this->formatCurrency("lArea1");
$this->formatCurrency("lArea2");
$this->formatCurrency("lArea3");
$this->formatCurrency("lArea4");
$this->formatCurrency("lArea5");
$this->formatCurrency("lArea6");
$this->formatCurrency("lUnitValue1");
$this->formatCurrency("lUnitValue2");
$this->formatCurrency("lUnitValue3");
$this->formatCurrency("lUnitValue4");
$this->formatCurrency("lUnitValue5");
$this->formatCurrency("lUnitValue6");
$this->formatCurrency("lMarketValue1");
$this->formatCurrency("lMarketValue2");
$this->formatCurrency("lMarketValue3");
$this->formatCurrency("lMarketValue4");
$this->formatCurrency("lMarketValue5");
$this->formatCurrency("lMarketValue6");
$this->formatCurrency("l2Area1");
$this->formatCurrency("l2Area2");
$this->formatCurrency("l2Area3");
$this->formatCurrency("l2Area4");
$this->formatCurrency("l2Area5");
$this->formatCurrency("l2UnitValue1");
$this->formatCurrency("l2UnitValue2");
$this->formatCurrency("l2UnitValue3");
$this->formatCurrency("l2UnitValue4");
$this->formatCurrency("l2UnitValue5");
$this->formatCurrency("l2MarketValue1");
$this->formatCurrency("l2MarketValue2");
$this->formatCurrency("l2MarketValue3");
$this->formatCurrency("l2MarketValue4");
$this->formatCurrency("l2MarketValue5");
$this->formatCurrency("pUnitValue1");
$this->formatCurrency("pUnitValue2");
$this->formatCurrency("pUnitValue3");
$this->formatCurrency("pUnitValue4");
$this->formatCurrency("pUnitValue5");
$this->formatCurrency("pUnitValue6");
$this->formatCurrency("pUnitValue7");
$this->formatCurrency("pUnitValue8");
$this->formatCurrency("pUnitValue9");
$this->formatCurrency("pMarketValue1");
$this->formatCurrency("pMarketValue2");
$this->formatCurrency("pMarketValue3");
$this->formatCurrency("pMarketValue4");
$this->formatCurrency("pMarketValue5");
$this->formatCurrency("pMarketValue6");
$this->formatCurrency("pMarketValue7");
$this->formatCurrency("pMarketValue8");
$this->formatCurrency("pMarketValue9");
$this->formatCurrency("bFloorArea1");
$this->formatCurrency("bFloorArea2");
$this->formatCurrency("bFloorArea3");
$this->formatCurrency("bMarketValue1");
$this->formatCurrency("bMarketValue2");
$this->formatCurrency("bMarketValue3");
$this->formatCurrency("mOriginalCost1");
$this->formatCurrency("mDepreciation1");
$this->formatCurrency("mMarketValue1");
$this->formatCurrency("mOriginalCost2");
$this->formatCurrency("mDepreciation2");
$this->formatCurrency("mMarketValue2");
$this->formatCurrency("mOriginalCost3");
$this->formatCurrency("mDepreciation3");
$this->formatCurrency("mMarketValue3");
$this->formatCurrency("propertyMarketValue1");
$this->formatCurrency("propertyMarketValue2");
$this->formatCurrency("propertyMarketValue3");
$this->formatCurrency("propertyMarketValue4");
foreach ($this->formArray as $key => $value) {
$this->tpl->set_var($key, html_entity_to_alpha($value));
}
}
示例15: setForm
function setForm()
{
$this->formatCurrency("marketValue1");
$this->formatCurrency("assessedValue1");
$this->formatCurrency("basic1");
$this->formatCurrency("sef1");
$this->formatCurrency("totalTax1");
$this->formatCurrency("marketValue2");
$this->formatCurrency("assessedValue2");
$this->formatCurrency("basic2");
$this->formatCurrency("sef2");
$this->formatCurrency("totalTax2");
$this->formatCurrency("marketValue3");
$this->formatCurrency("assessedValue3");
$this->formatCurrency("basic3");
$this->formatCurrency("sef3");
$this->formatCurrency("totalTax3");
$this->formatCurrency("marketValue4");
$this->formatCurrency("assessedValue4");
$this->formatCurrency("basic4");
$this->formatCurrency("sef4");
$this->formatCurrency("totalTax4");
$this->formatCurrency("marketValue5");
$this->formatCurrency("assessedValue5");
$this->formatCurrency("basic5");
$this->formatCurrency("sef5");
$this->formatCurrency("totalTax5");
$this->formatCurrency("marketValue6");
$this->formatCurrency("assessedValue6");
$this->formatCurrency("basic6");
$this->formatCurrency("sef6");
$this->formatCurrency("totalTax6");
$this->formatCurrency("totalMarketValue");
$this->formatCurrency("totalAssessedValue");
$this->formatCurrency("totalBasic");
$this->formatCurrency("totalSef");
$this->formatCurrency("totalTaxes");
//$this->formatCurrency("grandTotalBasic");
foreach ($this->formArray as $key => $value) {
$this->tpl->set_var($key, html_entity_to_alpha($value));
}
}