Get Resource Url for DeleteExtendedProperties
@return   String Resource Url
777692
public static MozuUrl deleteExtendedPropertiesUrl()
	{
		UrlFormatter formatter = new UrlFormatter("/api/commerce/carts/current/extendedproperties");
		return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ;
	}
90933
public static function deleteMapping()
    {
        $instance = new static;

        $params = $instance->getBasicEsParams();

        return $instance->getElasticSearchClient()->indices()->deleteMapping($params);
    }
547614
public function getUrl()
    {
        if (is_null($this->_url)) {
            $this->_resourceTypeConfig = $this->getResourceTypeConfig();
            if (is_null($this->_resourceTypeConfig)) {
                $connector =& CKFinder_Connector_Core_Factory::getInstance("Core_Connector");
                $oErrorHandler =& $connector->getErrorHandler();
                $oErrorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_TYPE);
                $this->_url = "";
            }
            else {
                $this->_url = $this->_resourceTypeConfig->getUrl() . ltrim($this->getClientPath(), "/");
            }
        }

        return $this->_url;
    }
804597
public function getFullUrl()
    {
        /** @var Uri $uri */
        $uri = $this->getUri();

        return rtrim($uri->getBaseUrl(), '/') . '/' . ltrim($uri->getPath(), '/');
    }
522882
protected function handleDELETE()
    {
        /** @var BaseSystemModel $modelClass */
        $modelClass = static::$model;
        $options = $this->request->getParameters();

        if (!empty($this->resource)) {
            return $modelClass::deleteById($this->resource, $options);
        }

        if (!empty($ids = array_get($options, ApiOptions::IDS))) {
            $result = $modelClass::deleteByIds($ids, $options);
        } else {
            $records = ResourcesWrapper::unwrapResources($this->getPayloadData());
            if (!empty($records)) {
                $result = $modelClass::bulkDelete($records, $options);
            } else {
                $filter = array_get($options, ApiOptions::FILTER);
                if (!empty($filter)) {
                    $params = array_get($options, ApiOptions::PARAMS, []);
                    $result = $modelClass::deleteByFilter($filter, $params, $options);
                } else {
                    if (!array_get_bool($options, ApiOptions::FORCE)) {
                        throw new BadRequestException('No filter or records given for delete request.');
                    }

                    return $modelClass::truncate($options);
                }
            }
        }

        $asList = $this->request->getParameterAsBool(ApiOptions::AS_LIST);
        $idField = $this->request->getParameter(ApiOptions::ID_FIELD, static::getResourceIdentifier());
        $result = ResourcesWrapper::cleanResources($result, $asList, $idField, ApiOptions::FIELDS_ALL);

        return $result;
    }
240694
private function deleteOrphanedUrls()
    {
        $query = $this->connection->createQueryBuilder();
        $query
            ->select($this->connection->quoteIdentifier('url.id'))
            ->from($this->connection->quoteIdentifier(self::URL_TABLE), 'url')
            ->leftJoin(
                'url',
                $this->connection->quoteIdentifier(self::URL_LINK_TABLE),
                'link',
                'url.id = link.url_id'
            )
            ->where($query->expr()->isNull('link.url_id'))
        ;

        $statement = $query->execute();

        $ids = $statement->fetchAll(PDO::FETCH_COLUMN);
        if (empty($ids)) {
            return;
        }

        $deleteQuery = $this->connection->createQueryBuilder();
        $deleteQuery
            ->delete($this->connection->quoteIdentifier(self::URL_TABLE))
            ->where($deleteQuery->expr()->in('id', ':ids'))
            ->setParameter(':ids', $ids, Connection::PARAM_STR_ARRAY)
        ;

        $deleteQuery->execute();
    }
386921
protected function handleDELETE()
    {
        $deleteStorage = $this->request->getParameterAsBool('delete_storage');
        $fields = $this->request->getParameter('fields');

        if ($deleteStorage) {
            if (empty($fields)) {
                $fields = 'id,storage_service_id,storage_container';
            } elseif ($fields !== '*') {
                $fields = explode(',', $fields);

                if (!in_array('id', $fields)) {
                    $fields[] = 'id';
                }
                if (!in_array('storage_service_id', $fields)) {
                    $fields[] = 'storage_service_id';
                }
                if (!in_array('storage_container', $fields)) {
                    $fields[] = 'storage_container';
                }

                $fields = implode(',', $fields);
            }
            $this->request->setParameter('fields', $fields);
        }

        $result = parent::handleDELETE();

        if ($deleteStorage) {
            $temp = $result;
            $wrapper = ResourcesWrapper::getWrapper();
            if (isset($result[$wrapper])) {
                $temp = ResourcesWrapper::unwrapResources($temp);
            }

            if (!Arr::isAssoc($temp)) {
                foreach ($temp as $app) {
                    static::deleteHostedAppStorage(
                        $app['id'],
                        $app['storage_service_id'],
                        $app['storage_container']
                    );
                }
            } else {
                static::deleteHostedAppStorage(
                    $temp['id'],
                    $temp['storage_service_id'],
                    $temp['storage_container']
                );
            }
        }

        return $result;
    }
1070234
function urlAlias()
    {
        $useURLAlias =& $GLOBALS['eZContentObjectTreeNodeUseURLAlias'];
        $ini = eZINI::instance();
        $cleanURL = '';
        if ( !isset( $useURLAlias ) )
        {
            $useURLAlias = $ini->variable( 'URLTranslator', 'Translation' ) == 'enabled';
        }
        if ( $useURLAlias )
        {
            $path = $this->pathWithNames();
            if ( $ini->hasVariable( 'SiteAccessSettings', 'PathPrefix' ) &&
                 $ini->variable( 'SiteAccessSettings', 'PathPrefix' ) != '' )
            {
                $prepend = $ini->variable( 'SiteAccessSettings', 'PathPrefix' );
                $pathIdenStr = substr( $prepend, strlen( $prepend ) -1 ) == '/'
                                ? $path . '/'
                                : $path;
                if ( strncasecmp( $pathIdenStr, $prepend, strlen( $prepend ) ) == 0 )
                    $cleanURL = eZURLAliasML::cleanURL( substr( $path, strlen( $prepend ) ) );
                else
                    $cleanURL = eZURLAliasML::cleanURL( $path );
            }
            else
            {
                $cleanURL = eZURLAliasML::cleanURL( $path );
            }
        }
        else
        {
            $cleanURL = eZURLAliasML::cleanURL( 'content/view/full/' . $this->NodeID );
        }

        return $cleanURL;
    }
656674
public function getRequestUrl(): string
    {
        $url = $this->getUrl();

        if ($this->getRequestParameters()) {
            $url = $this->attachQueryToUrl($url, $this->httpBuildQuery($this->getRequestParameters()));
        }

        return $url;
    }
1338888
protected function getCancelUrl()
    {
        $cancelURLFromRequest = $this->getRequest()->getRequestParameter('oePayPalCancelURL');
        $cancelUrl = $this->getSession()->processUrl($this->getBaseUrl() . "&cl=basket");

        if ($cancelURLFromRequest) {
            $cancelUrl = html_entity_decode(urldecode($cancelURLFromRequest));
        } elseif ($requestedControllerKey = $this->getRequestedControllerKey()) {
            $cancelUrl = $this->getSession()->processUrl($this->getBaseUrl() . '&cl=' . $requestedControllerKey);
        }

        return $cancelUrl;
    }
614863
protected function getExludedProperties()
    {
        return array_merge(parent::getExludedProperties(), array(
            GenerisRdf::PROPERTY_USER_DEFLG,
            GenerisRdf::PROPERTY_USER_ROLES,
            TaoOntology::PROPERTY_USER_LAST_EXTENSION,
            TaoOntology::PROPERTY_USER_FIRST_TIME,
            GenerisRdf::PROPERTY_USER_TIMEZONE
        ));
    }
208711
private function getResourceOnly()
    {
        $name = $this->getArgumentResource();
        if (!str_contains($name, '.')) {
            return $name;
        }

        return substr($name, strripos($name, '.') + 1);
    }
296739
public function getRemovedLines()
    {
        return array_values(array_filter(
            $this->lines,
            function (Line $line) {
                return $line->getType() == Line::REMOVED;
            }
        ));
    }
1312114
public function resetFormUrl()
    {
        $params = Input::get();

        $fieldsToReset = [];
        foreach ($this->_columns as $columnData) {
            // Add each column to reset
            $column = new Column($columnData);
            $fieldsToReset[] = 'resource_table_'.$column->index();
        }

        // Now remove all fields to reset from GET query
        foreach ($fieldsToReset as $fieldName) {
            if (isset($params[$fieldName])) {
                unset($params[$fieldName]);
            }
        }

        return Request::url().'?'.http_build_query($params);
    }
824660
public static MozuUrl deleteExtendedPropertyUrl(String key)
	{
		UrlFormatter formatter = new UrlFormatter("/api/commerce/carts/current/extendedproperties/{key}");
		formatter.formatUrl("key", key);
		return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ;
	}
1201925
protected function _getExtendOptionsPaginationUrl() {
		$options = [];
		$ext = (string)$this->request->param('ext');
		$ext = mb_strtolower($ext);
		if (empty($ext) || ($ext !== 'prt')) {
			return $options;
		}

		$options = compact('ext');

		return $options;
	}
812411
public function getCancelUrl()
    {
        if (null === $this->cancelRoute) {
            $this->cancelRoute = $this->returnRoute;
        }
        return $this->paymentHandler->createAbsoluteUrl($this->returnRoute);
    }