public function getTextItems()
    {
        $parameters = func_get_args();
        //set parameter values
        if (count($parameters) > 0) {
            $worksheetName = $parameters[0];
        }
        $strURI = Product::$baseProductUri . '/cells/' . $this->getFileName() . ((isset($parameters[0])) ? '/worksheets/' . $worksheetName . '/textItems' : '/textItems');
        $signedURI = Utils::sign($strURI);
        $responseStream = Utils::processCommand($signedURI, 'GET', '', '');
        $json = json_decode($responseStream);
        return $json->TextItems->TextItemList;
    }
public function getTextItems()
    {
        $parameters = func_get_args();
        //set parameter values
        if (count($parameters) > 0) {
            $worksheetName = $parameters[0];
        }
        $strURI = Product::$baseProductUri . '/cells/' . $this->getFileName() . ((isset($parameters[0])) ? '/worksheets/' . $worksheetName . '/textItems' : '/textItems');
        $signedURI = Utils::sign($strURI);
        $responseStream = Utils::processCommand($signedURI, 'GET', '', '');
        $json = json_decode($responseStream);
        return $json->TextItems->TextItemList;
    }
public function getTextItems ( ) { $ parameters = func_get_args ( ) ; //set parameter values if ( count ( $ parameters ) > 0 ) { $ worksheetName = $ parameters [ 0 ] ; } $ strURI = Product :: $ baseProductUri . '/cells/' . $ this -> getFileName ( ) . ( ( isset ( $ parameters [ 0 ] ) ) ? '/worksheets/' . $ worksheetName . '/textItems' : '/textItems' ) ; $ signedURI = Utils :: sign ( $ strURI ) ; $ responseStream = Utils :: processCommand ( $ signedURI , 'GET' , '' , '' ) ; $ json = json_decode ( $ responseStream ) ; return $ json -> TextItems -> TextItemList ; }
Gets text items from the whole Excel file or a specific worksheet.

@param string $WorkSheetName Name of the sheet.

@return array
@throws Exception
Gets text items from the whole Excel file or a specific worksheet .