mirror of
https://codeberg.org/artfulrobot/contactcats.git
synced 2025-06-28 06:27:18 +02:00
Can access entities in SK, begun new admin page
This commit is contained in:
parent
06fec5daf7
commit
4978eeb828
8 changed files with 189 additions and 191 deletions
|
@ -1,6 +1,8 @@
|
|||
<?php
|
||||
namespace Civi\Api4;
|
||||
|
||||
use Civi\Api4\Action\ContactCategoryDefinition\Get;
|
||||
|
||||
/**
|
||||
* ContactCategoryDefinition entity.
|
||||
*
|
||||
|
@ -10,4 +12,13 @@ namespace Civi\Api4;
|
|||
*/
|
||||
class ContactCategoryDefinition extends Generic\DAOEntity {
|
||||
|
||||
/**
|
||||
* @param bool $checkPermissions
|
||||
* @return DAOGetAction
|
||||
*/
|
||||
public static function get($checkPermissions = TRUE) {
|
||||
return (new Get(static::getEntityName(), __FUNCTION__))
|
||||
->setCheckPermissions($checkPermissions);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue