NAME

BSE::TB::SiteCommon - methods common to the site and article objects


SYNOPSIS

  my @steps = $article->set_parents;
  my @sections = $site->children;


DESCRIPTION

Provides methods common to the Article and BSE::TB::Site objects.


USEFUL METHODS

menu_kids

Returns a list of children meant to be listed in menus.

menu_kids

Returns a list of allkids meant to be listed in menus.


add_file($cfg, %opts)

Add a file to the site or article.

Options:

dies with an error message on failure.

Returns a file object on success.

reorder_child($child_id, $after_id)

Change the order of children of $self so that $child_id is after $after_id.

If $after_id is zero then $child_id becomes the first child.


AUTHOR

Tony Cook <tony@develop-help.com>