public static function destroyByGroup($group_id)
	{
		$group_id = (is_array($group_id) ? $group_id : array($group_id));

		$blank = self::blank();

		$query = $blank->getQuery()
			->delete($blank->getTableName())
			->whereIn('group_id', $group_id);

		if (!$query->execute())
		{
			return false;
		}

		return true;
	}
public static function destroyByGroup($group_id)
	{
		$group_id = (is_array($group_id) ? $group_id : array($group_id));

		$blank = self::blank();

		$query = $blank->getQuery()
			->delete($blank->getTableName())
			->whereIn('group_id', $group_id);

		if (!$query->execute())
		{
			return false;
		}

		return true;
	}
public static function destroyByGroup ( $ group_id ) { $ group_id = ( is_array ( $ group_id ) ? $ group_id : array ( $ group_id ) ) ; $ blank = self :: blank ( ) ; $ query = $ blank -> getQuery ( ) -> delete ( $ blank -> getTableName ( ) ) -> whereIn ( 'group_id' , $ group_id ) ; if ( ! $ query -> execute ( ) ) { return false ; } return true ; }
Delete objects of this type by Access Group ID

@param   mixed    $group_id  Integer or array of integers
@return  boolean
Delete objects of this type by Access Group ID