private function cleanBreadcrumb($breadcrumb)
	{
		$newArray = array();

		if (!empty($breadcrumb))
			foreach ($breadcrumb as $page)
			{
				if (!empty($page->tree_page_id))
					array_push($newArray, $page->tree_page_id);
			}

		return $newArray;
	}
private function cleanBreadcrumb($breadcrumb)
	{
		$newArray = array();

		if (!empty($breadcrumb))
			foreach ($breadcrumb as $page)
			{
				if (!empty($page->tree_page_id))
					array_push($newArray, $page->tree_page_id);
			}

		return $newArray;
	}
private function cleanBreadcrumb ( $ breadcrumb ) { $ newArray = array ( ) ; if ( ! empty ( $ breadcrumb ) ) foreach ( $ breadcrumb as $ page ) { if ( ! empty ( $ page -> tree_page_id ) ) array_push ( $ newArray , $ page -> tree_page_id ) ; } return $ newArray ; }
Creates a simple array with the page ids from
the result of db
@param array $breadcrumb
@return array
Creates a simple array with the page ids from the result of db