Example #1
0
 /**
  * Method for adding or updating the task to the MidCOM indexer service.
  *
  * @param &$dm Datamanager2 instance containing the object
  */
 public function _index_object(&$dm)
 {
     //Ugly workaround to http://trac.openpsa2.org/ticket/31
     $this->_object->refresh_status();
     $indexer = new org_openpsa_projects_midcom_indexer($this->_topic);
     return $indexer->index($dm);
 }
Example #2
0
 /**
  * Method for adding or updating the project to the MidCOM indexer service.
  *
  * @param &$dm Datamanager2 instance containing the object
  */
 public function _index_object(&$dm)
 {
     $indexer = new org_openpsa_projects_midcom_indexer($this->_topic);
     return $indexer->index($dm);
 }