PHP 인터페이스 Fenos\Notifynder\Contracts\NotifynderGroup

파일 보기 프로젝트 열기: fenos/notifynder 0 사용 예제들

공개 메소드들

메소드 설명
addCategoryToGroupById ( $groupId, $categoryId ) : mixed Add category to a group giving the ids of them.
addCategoryToGroupByName ( $groupName, $categoryName ) : mixed Add category to a group giving the ids of them.
addGroup ( $name ) : Model | static Add a group in the db.
addMultipleCategoriesToGroup ( ) : mixed Add Multiple categories in a group First parameter is the group name all the rest are categories.
findById ( $groupId ) : Illuminate\Database\Eloquent\Collection | Model | static Find a group by id.
findByName ( $groupName ) : mixed Find a group By name.

메소드 상세

addCategoryToGroupById() 공개 메소드

Add category to a group giving the ids of them.
public addCategoryToGroupById ( $groupId, $categoryId ) : mixed
$groupId
$categoryId
리턴 mixed

addCategoryToGroupByName() 공개 메소드

Add category to a group giving the ids of them.
public addCategoryToGroupByName ( $groupName, $categoryName ) : mixed
$groupName
$categoryName
리턴 mixed

addGroup() 공개 메소드

Add a group in the db.
public addGroup ( $name ) : Model | static
$name
리턴 Illuminate\Database\Eloquent\Model | static

addMultipleCategoriesToGroup() 공개 메소드

Add Multiple categories in a group First parameter is the group name all the rest are categories.

findById() 공개 메소드

Find a group by id.
public findById ( $groupId ) : Illuminate\Database\Eloquent\Collection | Model | static
$groupId
리턴 Illuminate\Database\Eloquent\Collection | Illuminate\Database\Eloquent\Model | static

findByName() 공개 메소드

Find a group By name.
public findByName ( $groupName ) : mixed
$groupName
리턴 mixed