本文整理汇总了PHP中get_item_data_row函数的典型用法代码示例。如果您正苦于以下问题:PHP get_item_data_row函数的具体用法?PHP get_item_data_row怎么用?PHP get_item_data_row使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了get_item_data_row函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: get_items_manage_table_data_rows
function get_items_manage_table_data_rows($items, $controller)
{
$CI =& get_instance();
$table_data_rows = '';
foreach ($items->result() as $item) {
$table_data_rows .= get_item_data_row($item, $controller);
}
if ($items->num_rows() == 0) {
$table_data_rows .= "<tr><td colspan='8'><div class='warning_message' style='padding:7px;'>" . $CI->lang->line('items_no_items_to_display') . "</div></tr></tr>";
}
return $table_data_rows;
}
示例2: get_row
function get_row()
{
$item_id = $this->input->post('row_id');
$item_info = $this->Item->get_info($item_id);
$stock_location = $this->item_lib->get_item_location();
$item_quantity = $this->Item_quantities->get_item_quantity($item_id, $stock_location);
$item_info->quantity = $item_quantity->quantity;
$data_row = get_item_data_row($item_info, $this);
echo $data_row;
$this->_remove_duplicate_cookies();
}
示例3: get_row
function get_row()
{
$item_id = $this->input->post('row_id');
$data_row = get_item_data_row($this->Item->get_info($item_id), $this);
echo $data_row;
}
示例4: get_items_manage_table_data_rows
function get_items_manage_table_data_rows($items, $controller)
{
$CI =& get_instance();
$table_data_rows = '';
foreach ($items->result() as $item) {
$table_data_rows .= get_item_data_row($item, $controller);
}
if ($items->num_rows() == 0) {
$table_data_rows .= "<tr><td colspan='11'><span class='col-md-12 text-center text-warning' >" . lang('items_no_items_to_display') . "</span></tr>";
}
return $table_data_rows;
}
示例5: get_row
public function get_row($item_ids)
{
$item_infos = $this->Item->get_multiple_info(explode(":", $item_ids), $this->item_lib->get_item_location());
$result = array();
foreach ($item_infos->result() as $item_info) {
$result[$item_info->item_id] = $this->xss_clean(get_item_data_row($item_info, $this));
}
echo json_encode($result);
}