Skip to content

numero2/contao-personio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Contao Personio Bundle

About

Import job advertisements from Personio as news into Contao.

System requirements

Installation

  • Install via Contao Manager or Composer (composer require numero2/contao-personio-bundle)
  • Run a database update via the Contao-Installtool or using the contao:migrate command.

Hooks

By default the bundle only imports certain information from the Personio job advertisements. If you need more meta data you can import them on your own using the parsePersonioPosition hook:

// src/EventListener/ParsePersonioPositionListener.php
namespace App\EventListener;

use Contao\CoreBundle\ServiceAnnotation\Hook;
use Contao\NewsModel;

/**
 * @Hook("parsePersonioPosition")
 */
class ParsePersonioPositionListener
{
    public function __invoke(NewsModel $news, object $position, bool $isUpdate): void
    {
        $news->something = $position->something;
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages