示例#1
0
 /**
  * ブロックUpdate
  * @param array(page_id-min_width_size or block_obj)
  * @return boolean true or false
  * @access	public
  */
 function updBlock($params = array(), $where_params = array(), $footer_flag = true)
 {
     $sql = $this->_db->getUpdateSQL("blocks", $params, $where_params, $footer_flag);
     $result = $this->_db->execute($sql, $params);
     if ($result === false) {
         return false;
     }
     return true;
 }