aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/views.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-01 07:47:49 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-01 07:47:49 +0000
commit84553b0fd0d507d3e8a963deb5cba12d0d5f0b84 (patch)
treee359ea8bd9cc79d3249996d510657d9e752693f6 /engine/lib/views.php
parente51f9e8699a0443a0942f0a84c30ba3a4df372c1 (diff)
downloadelgg-84553b0fd0d507d3e8a963deb5cba12d0d5f0b84.tar.gz
elgg-84553b0fd0d507d3e8a963deb5cba12d0d5f0b84.tar.bz2
Moved deprecated files from sessions.php - xml.php into deprecation files for 1.7 and 1.8
git-svn-id: http://code.elgg.org/elgg/trunk@7981 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r--engine/lib/views.php59
1 files changed, 0 insertions, 59 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index 6256d3a8d..b29a2f35a 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -546,24 +546,6 @@ function elgg_unextend_view($view, $view_extension) {
}
/**
- * Extend a view
- *
- * @deprecated 1.7. Use elgg_extend_view().
- *
- * @param string $view The view to extend.
- * @param string $view_name This view is added to $view
- * @param int $priority The priority, from 0 to 1000,
- * to add at (lowest numbers displayed first)
- * @param string $viewtype Not used
- *
- * @return void
- */
-function extend_view($view, $view_name, $priority = 501, $viewtype = '') {
- elgg_deprecated_notice('extend_view() was deprecated by elgg_extend_view()!', 1.7);
- elgg_extend_view($view, $view_name, $priority, $viewtype);
-}
-
-/**
* Assembles and outputs a full page.
*
* A "page" in Elgg is determined by the current view type and
@@ -608,18 +590,6 @@ function elgg_view_page($title, $body, $page_shell = 'default', $vars = array())
}
/**
- * @deprecated 1.8 Use elgg_view_page()
- */
-function page_draw($title, $body, $sidebar = "") {
- elgg_deprecated_notice("page_draw() was deprecated in favor of elgg_view_page() in 1.8.", 1.8);
-
- $vars = array(
- 'sidebar' => $sidebar
- );
- echo elgg_view_page($title, $body, 'default', $vars);
-}
-
-/**
* Displays a layout with optional parameters.
*
* Layouts provide consistent organization of pages and other blocks of content.
@@ -1132,20 +1102,6 @@ function elgg_view_river_item($item) {
}
/**
- * Wrapper function to display search listings.
- *
- * @param string $icon The icon for the listing
- * @param string $info Any information that needs to be displayed.
- *
- * @return string The HTML (etc) representing the listing
- * @deprecated 1.8 use elgg_view_image_block()
- */
-function elgg_view_listing($icon, $info) {
- elgg_deprecated_notice('elgg_view_listing deprecated by elgg_view_image_block', 1.8);
- return elgg_view('layout/objects/image_block', array('image' => $icon, 'body' => $info));
-}
-
-/**
* Convenience function for generating a form from a view in a standard location.
*
* This function assumes that the body of the form is located at "forms/$action" and
@@ -1283,21 +1239,6 @@ function elgg_get_views($dir, $base) {
}
/**
- * Get views in a dir
- *
- * @deprecated 1.7. Use elgg_get_views().
- *
- * @param string $dir Dir
- * @param string $base Base view
- *
- * @return array
- */
-function get_views($dir, $base) {
- elgg_deprecated_notice('get_views() was deprecated by elgg_get_views()!', 1.7);
- elgg_get_views($dir, $base);
-}
-
-/**
* Returns all views below a partial view.
*
* Settings $view_root = 'profile' will show all available views under