@@ 1797-1806 (lines=10) @@ | ||
1794 | * @access private |
|
1795 | * @deprecated 1.9 |
|
1796 | */ |
|
1797 | function get_todays_entities($type = "", $subtype = "", $owner_guid = 0, $order_by = "", |
|
1798 | $limit = 10, $offset = 0, $count = false, $site_guid = 0, $container_guid = null) { |
|
1799 | elgg_deprecated_notice('get_todays_entities() has been deprecated', 1.9); |
|
1800 | ||
1801 | $day_start = get_day_start(); |
|
1802 | $day_end = get_day_end(); |
|
1803 | ||
1804 | return get_notable_entities($day_start, $day_end, $type, $subtype, $owner_guid, $order_by, |
|
1805 | $limit, $offset, $count, $site_guid, $container_guid); |
|
1806 | } |
|
1807 | ||
1808 | /** |
|
1809 | * Get entities for today from metadata. |
|
@@ 1826-1836 (lines=11) @@ | ||
1823 | * @access private |
|
1824 | * @deprecated 1.9 |
|
1825 | */ |
|
1826 | function get_todays_entities_from_metadata($meta_name, $meta_value = "", $entity_type = "", |
|
1827 | $entity_subtype = "", $owner_guid = 0, $limit = 10, $offset = 0, $order_by = "", $site_guid = 0, |
|
1828 | $count = false) { |
|
1829 | elgg_deprecated_notice('get_todays_entities_from_metadata() has been deprecated', 1.9); |
|
1830 | ||
1831 | $day_start = get_day_start(); |
|
1832 | $day_end = get_day_end(); |
|
1833 | ||
1834 | return get_notable_entities_from_metadata($day_start, $day_end, $meta_name, $meta_value, |
|
1835 | $entity_type, $entity_subtype, $owner_guid, $limit, $offset, $order_by, $site_guid, $count); |
|
1836 | } |
|
1837 | ||
1838 | /** |
|
1839 | * Get entities for today from a relationship |
|
@@ 1859-1870 (lines=12) @@ | ||
1856 | * @access private |
|
1857 | * @deprecated 1.9 |
|
1858 | */ |
|
1859 | function get_todays_entities_from_relationship($relationship, $relationship_guid, |
|
1860 | $inverse_relationship = false, $type = "", $subtype = "", $owner_guid = 0, |
|
1861 | $order_by = "", $limit = 10, $offset = 0, $count = false, $site_guid = 0) { |
|
1862 | elgg_deprecated_notice('get_todays_entities_from_relationship() has been deprecated', 1.9); |
|
1863 | ||
1864 | $day_start = get_day_start(); |
|
1865 | $day_end = get_day_end(); |
|
1866 | ||
1867 | return get_notable_entities_from_relationship($day_start, $day_end, $relationship, |
|
1868 | $relationship_guid, $inverse_relationship, $type, $subtype, $owner_guid, $order_by, |
|
1869 | $limit, $offset, $count, $site_guid); |
|
1870 | } |
|
1871 | ||
1872 | /** |
|
1873 | * Returns a viewable list of entities for a given time period. |