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


PHP tools::removeUploadPath方法代码示例

本文整理汇总了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);
 }
开发者ID:sea75300,项目名称:affiliat_r,代码行数:11,代码来源:affiliate.php

示例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 
}
开发者ID:sea75300,项目名称:affiliat_r,代码行数:31,代码来源:category_editor.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>
开发者ID:sea75300,项目名称:affiliat_r,代码行数:31,代码来源:affiliate_editor.php

示例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);
 }
开发者ID:sea75300,项目名称:affiliat_r,代码行数:11,代码来源:category.php


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