server/src/app/Libraries/CocoonUtils.php
changeset 504 4ab820b387da
parent 502 74fba571487e
equal deleted inserted replaced
503:bd2701bd8142 504:4ab820b387da
    45      * Extract Cocoon id from Cocoon url.
    45      * Extract Cocoon id from Cocoon url.
    46      *
    46      *
    47      * @return string
    47      * @return string
    48      */
    48      */
    49     public static function getCocoonIdFromCorpusUri($uri) {
    49     public static function getCocoonIdFromCorpusUri($uri) {
    50         return substr($uri, strlen(config('corpusparole.cocoon_doc_id_base_uri')));
    50         return substr($uri, strlen(config('corpusparole.corpus_doc_id_base_uri')));
    51     }
    51     }
    52 
    52 
    53     /**
    53     /**
    54      * Extract id form corpus url.
    54      * Extract id form corpus url.
    55      *
    55      *