Method |
Description |
|
__construct ( $app = null ) |
|
|
attributes ( $content_id ) |
|
|
breadcrumb ( $params = false ) |
|
|
custom_fields ( $content_id, $full = true, $field_type = false ) |
|
|
data ( $content_id ) |
|
|
define_constants ( array | boolean $content = false ) |
Defines all constants that are needed to parse the page layout. |
|
edit_field ( $data, $debug = false ) |
|
|
get ( mixed | array | boolean | string $params = false ) : array | boolean | mixed |
Get array of content items from the database. |
|
get_by_id ( integer $id ) : array |
Get single content item by id from the content_table. |
|
get_by_url ( $url = '', $no_recursive = false ) |
|
|
get_children ( $id, $without_main_parrent = false ) |
|
|
get_data ( $params = false ) |
|
|
get_inherited_parent ( $content_id ) |
Get the first parent that has layout. |
|
get_page ( integer | string $id ) : array |
Get single content item by id from the content_table. |
|
get_pages ( $params = false ) |
|
|
get_parents ( $id, $without_main_parrent = false ) |
|
|
get_posts ( $params = false ) |
|
|
get_products ( $params = false ) |
|
|
homepage ( ) |
Returns the homepage as array. |
|
lang_current ( ) |
Get the current language of the site. |
|
lang_set ( $lang = 'en' ) |
Set the current language. |
|
link ( integer $id ) : string |
Gets a link for given content id. |
|
next_content ( $content_id = false, $mode = 'next', $content_type = false ) |
|
|
pages_tree ( integer $parent, boolean $link = false, boolean $active_ids = false, boolean $active_code = false, boolean $remove_ids = false, boolean $removed_ids_code = false, boolean $ul_class_name = false, boolean $include_first = false ) : sting |
Print nested tree of pages. |
|
paging ( $params ) : string |
paging. |
|
paging_links ( $base_url = false, $pages_count, $paging_param = 'curent_page', $keyword_param = 'keyword' ) |
|
|
ping ( ) |
|
|
prev_content ( $content_id = false ) |
|
|
reorder ( $params ) |
|
|
save ( $data, $delete_the_cache = true ) |
|
|
save_content ( $data, $delete_the_cache = true ) |
|
|
save_content_admin ( $data, $delete_the_cache = true ) |
------------------------------------------------------------------------ |
|
save_content_data_field ( $data, $delete_the_cache = true ) |
|
|
save_content_field ( $data, $delete_the_cache = true ) |
|
|
save_edit ( $post_data ) |
|
|
set_published ( string | array | boolean $params ) : string |
Set content to be published. |
|
set_table_names ( array | boolean $tables = false ) |
Sets the database table names to use by the class. |
|
set_unpublished ( string | array | boolean $params ) : string |
Set content to be unpublished. |
|
site_templates ( ) |
|
|
title ( $id ) |
|
|