X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCase%2FInfo.php;h=7ee506fe4a161bcffd79d2073a1185a21abe98a3;hb=266a559f66f8242321969f8181b9c0f8c1ef5799;hp=1b0db3c88feef319e9dcc65f5eef3cc4c017bf16;hpb=49414d6faa37375cef1ea0a156054ddd9cc6ae8d;p=civicrm-core.git diff --git a/CRM/Case/Info.php b/CRM/Case/Info.php index 1b0db3c88f..7ee506fe4a 100644 --- a/CRM/Case/Info.php +++ b/CRM/Case/Info.php @@ -38,11 +38,13 @@ 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() { @@ -56,7 +58,7 @@ class CRM_Case_Info extends CRM_Core_Component_Info { } /** - * {@inheritDoc} + * @inheritDoc */ public function getAngularModules() { $result = array(); @@ -74,8 +76,8 @@ class CRM_Case_Info extends CRM_Core_Component_Info { return $result; } - // docs inherited from interface /** + * @inheritDoc * @return array * @throws CRM_Core_Exception */ @@ -88,8 +90,8 @@ class CRM_Case_Info extends CRM_Core_Component_Info { return $entities; } - // docs inherited from interface /** + * @inheritDoc * @param bool $getAllUnconditionally * * @return array @@ -105,7 +107,7 @@ class CRM_Case_Info extends CRM_Core_Component_Info { } /** - * {@inheritdoc} + * @inheritDoc */ public function getReferenceCounts($dao) { $result = array(); @@ -139,47 +141,47 @@ class CRM_Case_Info extends CRM_Core_Component_Info { 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) { @@ -193,11 +195,12 @@ class CRM_Case_Info extends CRM_Core_Component_Info { 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'), + ), + )); } } }