adding method setUnLocked()

git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@124525 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Xavier Noguer Gallego 2003-04-24 23:43:44 +00:00
parent ed0decdcf3
commit c1721aea35
1 changed files with 10 additions and 0 deletions

View File

@ -926,5 +926,15 @@ class Spreadsheet_Excel_Writer_Format extends PEAR
{ {
$this->_font_script = $script; $this->_font_script = $script;
} }
/**
* Unlocks a cell. Useful for unprotecting particular cells of a protected sheet.
*
* @access public
*/
function setUnLocked()
{
$this->_locked = 0;
}
} }
?> ?>