/** * @return string The task results for already complete tasks */ public function get_results() { $intDleCategoriesCount = $this->get_process_objects_count(); $intWpTermTaxonomyCount = WpTermTaxonomy::CountAll(); $strResults = <<<RESULT \t\t<li><strong>{$this->intTermTaxonomyCount}</strong> term taxonomy relations from <strong>{$intDleCategoriesCount}</strong> converted. The wordpress database already has <strong>{$intWpTermTaxonomyCount}</strong> term taxonomies.</li> RESULT; return $strResults; }
/** * @return int The number of object in the DLE database to process. */ protected function get_process_objects_count() { return WpTermTaxonomy::CountAll(); }