protected function generateStatusesPropertiesMap(array $statusCollection)
    {
        $statusMap = array();

        foreach ($statusCollection as $index => $status) {
            if ($status->isInitialState()) {
                $statusMap[$index]['initialState'] = '1';
            }
            if ($status->isTranslationState()) {
                $statusMap[$index]['translationState'] = '1';
            }
            if ($status->isPublishedState()) {
                $statusMap[$index]['publishedState'] = '1';
            }
            if ($status->isAutoPublishFromState()) {
                $statusMap[$index]['autoPublishFromState'] = '1';
            }
            if ($status->isAutoUnpublishToState()) {
                $statusMap[$index]['autoUnpublishToState'] = '1';
            }
        }

        return $statusMap;
    }
protected function generateStatusesPropertiesMap(array $statusCollection)
    {
        $statusMap = array();

        foreach ($statusCollection as $index => $status) {
            if ($status->isInitialState()) {
                $statusMap[$index]['initialState'] = '1';
            }
            if ($status->isTranslationState()) {
                $statusMap[$index]['translationState'] = '1';
            }
            if ($status->isPublishedState()) {
                $statusMap[$index]['publishedState'] = '1';
            }
            if ($status->isAutoPublishFromState()) {
                $statusMap[$index]['autoPublishFromState'] = '1';
            }
            if ($status->isAutoUnpublishToState()) {
                $statusMap[$index]['autoUnpublishToState'] = '1';
            }
        }

        return $statusMap;
    }
protected function generateStatusesPropertiesMap ( array $ statusCollection ) { $ statusMap = array ( ) ; foreach ( $ statusCollection as $ index => $ status ) { if ( $ status -> isInitialState ( ) ) { $ statusMap [ $ index ] [ 'initialState' ] = '1' ; } if ( $ status -> isTranslationState ( ) ) { $ statusMap [ $ index ] [ 'translationState' ] = '1' ; } if ( $ status -> isPublishedState ( ) ) { $ statusMap [ $ index ] [ 'publishedState' ] = '1' ; } if ( $ status -> isAutoPublishFromState ( ) ) { $ statusMap [ $ index ] [ 'autoPublishFromState' ] = '1' ; } if ( $ status -> isAutoUnpublishToState ( ) ) { $ statusMap [ $ index ] [ 'autoUnpublishToState' ] = '1' ; } } return $ statusMap ; }
Generate a properties map of available properties by status

@param array $statusCollection

@return string
Generate a properties map of available properties by status