Behaviours

Printer friendly

Behaviour Configuration Methods
Publishable
  • publication_bool_property
  • ->published()
Sortable
  • sort_property
  • sort_order
  • ->move_before($item)
  • ->move_after($item)
  • ->move_to_last_position()
Contextable
  • context_property
  • default_context
  • ->get_context()
Twinnable
  • common_id_property
  • is_main_property
  • context_property
  • default_context
  • ->delete_all_context()
  • ->is_main_context()
  • ->find_context($context)
  • ->find_main_context()
  • ->find_other_context($filter)
  • ->get_all_context()
  • ->get_other_context($filter)
Tree
  • level_property
  • parent_relation
  • children_relation
  • ->get_parent()
  • ->set_parent($new_parent)
  • ->find_children($where = array(), $order_by = array(), $options = array())
  • ->find_children_recursive($include_self)
  • ->find_root()
Urlenhancer
  • enhancers
  • ->urls($params = array())
  • ->url($params = array())
  • ->url_canonical($params = array())
  • ->preview_url()
Virtualname
  • virtual_name_property
  • unique
  • ->virtual_name()
  • ::friendly_slug($slug)
Virtualpath
  • virtual_name_property
  • virtual_path_property
  • unique
  • extension_property
  • parent_relation
  • ->virtual_path($dir = false)
  • ->extension()
Sharable
  • data
  • ->get_default_nuggets()
  • ->get_catcher_nuggets($catcher)
  • ->data_catchers()
Read the Docs v: chiba.1
Versions
latest
chiba.2
chiba.1
0.2
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.