class CRM_Case_Info extends CRM_Core_Component_Info {
- // docs inherited from interface
+ /**
+ * @inheritDoc
+ */
protected $keyword = 'case';
- // docs inherited from interface
/**
+ * @inheritDoc
* @return array
*/
public function getInfo() {
}
/**
- * {@inheritDoc}
+ * @inheritDoc
*/
public function getAngularModules() {
$result = array();
return $result;
}
- // docs inherited from interface
/**
+ * @inheritDoc
* @return array
* @throws CRM_Core_Exception
*/
return $entities;
}
- // docs inherited from interface
/**
+ * @inheritDoc
* @param bool $getAllUnconditionally
*
* @return array
}
/**
- * {@inheritdoc}
+ * @inheritDoc
*/
public function getReferenceCounts($dao) {
$result = array();
return $result;
}
- // docs inherited from interface
/**
+ * @inheritDoc
* @return array
*/
public function getUserDashboardElement() {
return array();
}
- // docs inherited from interface
/**
+ * @inheritDoc
* @return array
*/
public function registerTab() {
return array(
- 'title' => ts('Cases'),
+ 'title' => ts('Cases'),
'url' => 'case',
'weight' => 50,
);
}
- // docs inherited from interface
/**
+ * @inheritDoc
* @return array
*/
public function registerAdvancedSearchPane() {
return array(
- 'title' => ts('Cases'),
+ 'title' => ts('Cases'),
'weight' => 50,
);
}
- // docs inherited from interface
/**
+ * @inheritDoc
* @return null
*/
public function getActivityTypes() {
return NULL;
}
- // add shortcut to Create New
/**
+ * add shortcut to Create New
* @param $shortCuts
*/
public function creatNewShortcut(&$shortCuts) {
if ($atype) {
$shortCuts = array_merge($shortCuts, array(
array(
- 'path' => 'civicrm/case/add',
- 'query' => "reset=1&action=add&atype=$atype&context=standalone",
- 'ref' => 'new-case',
- 'title' => ts('Case'),
- )));
+ 'path' => 'civicrm/case/add',
+ 'query' => "reset=1&action=add&atype=$atype&context=standalone",
+ 'ref' => 'new-case',
+ 'title' => ts('Case'),
+ ),
+ ));
}
}
}