public function getFromName($name)
    {
        if (false === $this->openned) {
            return false;
        }
        $name = preg_replace("/(?:\.|\/)*(.*)/", "\\1", $name);
        $extraction = $this->pclzip->extract(PCLZIP_OPT_BY_NAME, $name, PCLZIP_OPT_EXTRACT_AS_STRING);
        if (!empty($extraction)) {
            return $extraction[0]['content'];
        }
        return false;
    }
public function getFromName($name)
    {
        if (false === $this->openned) {
            return false;
        }
        $name = preg_replace("/(?:\.|\/)*(.*)/", "\\1", $name);
        $extraction = $this->pclzip->extract(PCLZIP_OPT_BY_NAME, $name, PCLZIP_OPT_EXTRACT_AS_STRING);
        if (!empty($extraction)) {
            return $extraction[0]['content'];
        }
        return false;
    }
public function getFromName ( $ name ) { if ( false === $ this -> openned ) { return false ; } $ name = preg_replace ( "/(?:\.|\/)*(.*)/" , "\\1" , $ name ) ; $ extraction = $ this -> pclzip -> extract ( PCLZIP_OPT_BY_NAME , $ name , PCLZIP_OPT_EXTRACT_AS_STRING ) ; if ( ! empty ( $ extraction ) ) { return $ extraction [ 0 ] [ 'content' ] ; } return false ; }
Retrieve the content of a file within the archive from its name

@param string $name the name of the file to extract
@return the content of the file in a string
Retrieve the content of a file within the archive from its name