Buried in Greeble's source:
PHP Code:
/**
* Promotes this TreeRow one level to make it its parent's sibling, taking its
* children up with it. If this TreeRow is already root of its own tree, does
* nothing and returns false.
* @see TreeRow Header doc: Transactions
* @see Oedipus
* @return bool True on success, false on failure.
* @throws Model_Database_QueryException if there is a query error.
*/
public function promote() {
//snip
}
Bookmarks