public static function subscribe() { return new GroupSelect(array('ns', 'name', 'label', 'visible', 'castes', 'leavable'), array('castes' => CasteSelect::bubble())); }
public function bubble() { $castes = $this->parents()->select(CasteSelect::bubble()); foreach ($castes as $caste) { $caste->compute(); } }