Removed old deprecated methods

This commit is contained in:
Andy Miller
2014-11-26 06:12:25 -07:00
parent 0b7d2e6d7e
commit 9d6cc2cbcc

View File

@@ -1180,73 +1180,6 @@ class Page
return $children;
}
/**
* @throws \Exception
* @deprecated
*/
public function count()
{
throw new \Exception('Use $page->children()->count() instead.');
}
/**
* @param $key
* @throws \Exception
* @deprecated
*/
public function __get($key)
{
throw new \Exception('Use $page->children()->__get() instead.');
}
/**
* @param $key
* @param $value
* @throws \Exception
* @deprecated
*/
public function __set($key, $value)
{
throw new \Exception('Use $page->children()->__set() instead.');
}
/**
* @throws \Exception
* @deprecated
*/
public function current()
{
throw new \Exception('Use $page->children()->current() instead.');
}
/**
* @throws \Exception
* @deprecated
*/
public function next()
{
throw new \Exception('Use $page->children()->next() instead.');
}
/**
* @throws \Exception
* @deprecated
*/
public function prev()
{
throw new \Exception('Use $page->children()->prev() instead.');
}
/**
* @param string $key
* @throws \Exception
* @deprecated
*/
public function nth($key)
{
throw new \Exception('Use $page->children()->nth($position) instead.');
}
/**
* Check to see if this item is the first in an array of sub-pages.
*