private static function PHPExcel_Writer_Excel5_Xf::_mapLocked in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Xf.php \PHPExcel_Writer_Excel5_Xf::_mapLocked()
* Map locked * *
Parameters
string: * @return int
1 call to PHPExcel_Writer_Excel5_Xf::_mapLocked()
- PHPExcel_Writer_Excel5_Xf::writeXf in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Writer/ Excel5/ Xf.php - * Generate an Excel BIFF XF record (style or cell). * *
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Writer/ Excel5/ Xf.php, line 523
Class
- PHPExcel_Writer_Excel5_Xf
- PHPExcel_Writer_Excel5_Xf
Code
private static function _mapLocked($locked) {
switch ($locked) {
case PHPExcel_Style_Protection::PROTECTION_INHERIT:
return 1;
case PHPExcel_Style_Protection::PROTECTION_PROTECTED:
return 1;
case PHPExcel_Style_Protection::PROTECTION_UNPROTECTED:
return 0;
default:
return 1;
}
}