本文整理汇总了PHP中tools::removeUploadPath方法的典型用法代码示例。如果您正苦于以下问题:PHP tools::removeUploadPath方法的具体用法?PHP tools::removeUploadPath怎么用?PHP tools::removeUploadPath使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类tools
的用法示例。
在下文中一共展示了tools::removeUploadPath方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: update
/**
* Aktualisiert
* @return bool
*/
public function update()
{
$values = array('?', '?', '?', '?', '?', '?', '?', '?', '?', '?');
$params = array($this->getPageName(), $this->getPageUrl(), $this->getPageAdminName(), $this->getPageAdminEmail(), \tools::removeUploadPath($this->getPageButton()), $this->getAffiliateCategory(), $this->getAffiliateAddedTime(), $this->getAffiliateEditedTime(), $this->affiliateIsMarked(), $this->affiliateIsAccpted());
$where = "id = {$this->id}";
return $this->dbconnection->update($this->tabName, $this->fields, $values, $params, $where);
}
示例2:
<?php
if (!defined('VIEW')) {
die;
}
$iconPath = tools::removeUploadPath($category->getIconPath());
?>
<form method="post" action="">
<div class="afltr-acp-top-buttons">
<?php
if ($editormode == 0) {
?>
<a href="#" class="buttons show-upload-dialog" title="<?php
language::printLanguageConstant('FILES_UPLOAD_AC_NOTICE');
?>
"><?php
language::printLanguageConstant('FILES_UPLOAD');
?>
</a>
<?php
}
?>
<?php
if ($editormode == 1) {
?>
<a href="#" class="buttons show-integration-dialog"><?php
language::printLanguageConstant('CATEGORY_INTEGRATION');
?>
</a>
<?php
}
示例3: array
<?php
if (!defined('VIEW')) {
die;
}
$fields = array('pageButton' => tools::removeUploadPath($affiliate->getPageButton()), 'pageName' => $affiliate->getPageName(), 'pageUrl' => $affiliate->getPageUrl(), 'pageAdminName' => $affiliate->getPageAdminName(), 'pageAdminEmail' => $affiliate->getPageAdminEmail());
?>
<form method="post" action="">
<div class="afltr-acp-top-buttons">
<?php
if ($editormode == 0) {
?>
<a href="#" class="buttons show-upload-dialog" title="<?php
language::printLanguageConstant('FILES_UPLOAD_AC_NOTICE');
?>
"><?php
language::printLanguageConstant('FILES_UPLOAD');
?>
</a>
<div class="afltr-divider-buttons"></div>
<?php
}
?>
<?php
viewHelper::saveButton('submsave');
?>
<?php
viewHelper::resetButton('subreset');
?>
</div>
示例4: update
/**
* Aktualisiert
* @return bool
*/
public function update()
{
$values = array('?', '?', '?');
$params = array($this->getName(), \tools::removeUploadPath($this->getIconPath()), $this->isPrivate());
$where = "id = {$this->id}";
return $this->dbconnection->update($this->tabName, $this->fields, $values, $params, $where);
}