/** * Return whether the history item type is for a content item. * @param string $object_type * @return boolean * @access private */ protected function _is_content_type($object_type) { return parent::_is_content_type($object_type) || $object_type == History_item_branch || $object_type == History_item_release; }
/** * Apply default restrictions and tables. */ public function apply_defaults() { parent::apply_defaults(); $this->add_order('fldr.first_day DESC', true); }