We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi Sergey,
it's possible to speed up the function getCell() using straight access via xpath instead of foreach loops. Try this:
public function getCell( $worksheetIndex = 0, $cell = 'A1' ) { if ( ( $ws = $this->worksheet( $worksheetIndex ) ) === false ) { return false; } $idx = is_array( $cell ) ? $cell : $this->getIndex( (string) $cell ); $C = $idx[0]; $R = $idx[1]; return $this->value($ws->sheetData->row[$R]->c[$C]); }
Best regards Joerg
The text was updated successfully, but these errors were encountered:
$ws->sheetData->xpath( "row/c[@r='" . $cell . "']" );
try 0.8.23 and thx
Sorry, something went wrong.
No branches or pull requests
Hi Sergey,
it's possible to speed up the function getCell() using straight access via xpath instead of foreach loops. Try this:
Best regards
Joerg
The text was updated successfully, but these errors were encountered: