kernel/classes/ezpackage.php
function install( &$installParameters )
    {
        if ( $this->Parameters['install_type'] != 'install' )
            return;
        $installItems = $this->Parameters['install'];
        if ( !isset( $installParameters['path'] ) )
            $installParameters['path'] = false;
        $installResult = true;
        foreach ( $installItems as $item )
        {
            if ( !$this->installItem( $item, $installParameters ) )
            {
                eZDebug::writeDebug( $item, 'item which failed installing' );
                $installResult = false;
            }
        }
        $this->setInstalled();
        return $installResult;
    }
function install( &$installParameters )
    {
        if ( $this->Parameters['install_type'] != 'install' )
            return;
        $installItems = $this->Parameters['install'];
        if ( !isset( $installParameters['path'] ) )
            $installParameters['path'] = false;
        $installResult = true;
        foreach ( $installItems as $item )
        {
            if ( !$this->installItem( $item, $installParameters ) )
            {
                eZDebug::writeDebug( $item, 'item which failed installing' );
                $installResult = false;
            }
        }
        $this->setInstalled();
        return $installResult;
    }
function install ( & $ installParameters ) { if ( $ this -> Parameters [ 'install_type' ] != 'install' ) return ; $ installItems = $ this -> Parameters [ 'install' ] ; if ( ! isset ( $ installParameters [ 'path' ] ) ) $ installParameters [ 'path' ] = false ; $ installResult = true ; foreach ( $ installItems as $ item ) { if ( ! $ this -> installItem ( $ item , $ installParameters ) ) { eZDebug :: writeDebug ( $ item , 'item which failed installing' ) ; $ installResult = false ; } } $ this -> setInstalled ( ) ; return $ installResult ; }
Installs all items in the package

@param array $installParameters

@return bool true if all items installed correctly, false otherwise
Installs all items in the package