コード例 #1
0
 /**
  * 期限を更新する
  *
  * @param   string  $circularId	回覧ID
  * @return  boolean (true:正常/false:異常)
  * @access	public
  */
 function extendPeriod()
 {
     $columns = array('circular_id' => $this->_request->getParameter('circular_id'), 'period' => $this->_request->getParameter('period'));
     if (!$this->_db->updateExecute('circular', $columns, 'circular_id', true)) {
         return false;
     }
     return true;
 }