/** * Locks the page. Takes the user DB ID and place it as locksmith data. Impossible if resource is already locked. * * @param CMS_profile_user $user The user placing the lock * @return boolean true on success, false on failure. * @access public */ function lock(&$user) { if (is_object($this->_status)) { return $this->_status->lock($user); } else { return false; } }