kernel/private/classes/ezpcontentpublishingqueue.php
protected final static function attachHooks( $connector, $hooksList )
    {
        if ( is_array( $hooksList ) && count( $hooksList ) )
        {
            foreach( $hooksList as $hook )
            {
                self::signals()->connect( $connector, $hook );
            }
        }
    }
protected final static function attachHooks( $connector, $hooksList )
    {
        if ( is_array( $hooksList ) && count( $hooksList ) )
        {
            foreach( $hooksList as $hook )
            {
                self::signals()->connect( $connector, $hook );
            }
        }
    }
protected final static function attachHooks ( $ connector , $ hooksList ) { if ( is_array ( $ hooksList ) && count ( $ hooksList ) ) { foreach ( $ hooksList as $ hook ) { self :: signals ( ) -> connect ( $ connector , $ hook ) ; } } }
Attaches hooks to a signal slot
@param string $connector slot name (preQueue/postQueue)
@param array $hooks list of hooks (callbacks) to attach
Attaches hooks to a signal slot