Skip to the content
Documentation

compare

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

package/compare/<PackageName>: what the package carries compared with the site's content tree and classes, paginated, filtered and sorted, with a side by side word level difference of the item opened (eZPackageComparison). The state is in view parameters, like the contents browser on package/view/full: each left out at its default (every status, every class, no search, the package's own order, 50 per page, offset 0, nothing opened). The search is written encoded

package/compare/<name>/(filter)/changed/(class)/slash_quote/(search)/abc/(sort)/name/(dir)/desc/(limit)/100/(offset)/200/(item)/17

Parameters

Name Kind
PackageName ordered
filter unordered: /(filter)/<value>
class unordered: /(class)/<value>
search unordered: /(search)/<value>
sort unordered: /(sort)/<value>
dir unordered: /(dir)/<value>
limit unordered: /(limit)/<value>
offset unordered: /(offset)/<value>
item unordered: /(item)/<value>

Policy

package/read

POST actions

CompareRefreshButton, ImportItemButton, ImportSelectedButton, ImportFilterButton, ImportViewedButton, ConfirmImportButton, CancelImportButton

Navigation part

ezsetupnavigationpart

Source

kernel/package/module.php, kernel/package/compare.php

See also

Generated example: package/compare

Added to the reference for Exponential 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.