Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages | Examples

user_orderedit_func Class Reference

List of all members.

Public Member Functions

 article_order_id ($PA, $fobj)
 sum_price_gross_format ($PA, $fobj)
 order_articles ($PA, $fobj)
 order_status (&$data, &$pObj)
 invoice_adress ($PA, $fobj)
 crdate ($PA, $fObj)
 delivery_adress ($PA, $fobj)
 adress ($PA, $fobj, $table, $uid)
 fe_user_orders ($PA, $fobj)

Member Function Documentation

user_orderedit_func::adress PA,
fobj,
table,
uid
 

Adresss Renders the an Adress adresss block

Parameters:
$PA 
$fobj 
$table table_name
$uid Record UID
Returns:
HTML-Content
instatiate Template Class as this class is included via alt_doc we don't have to require template.php in fact an require would cause an error

Load the table TCA into local variable

Fist select Data from Database

We should get just one Result So Render Result as $arr for template::table()

Better formating via template class

Todo:
locallang for 'blub'

TYPO3 Core API's Page 63

Walk thrue rowset, get TCA values and LL Names

Get The label

user_orderedit_func::article_order_id PA,
fobj
 

Artcile order_id Just a hidden field

Parameters:
$PA 
$fobj 
Returns:
HTML-Content

user_orderedit_func::crdate PA,
fObj
 

Normal

user_orderedit_func::delivery_adress PA,
fobj
 

Invoice Adresss Renders the invoice adresss

Parameters:
$PA 
$fobj 
Returns:
HTML-Content
Normal

user_orderedit_func::fe_user_orders PA,
fobj
 

user_orderedit_func::invoice_adress PA,
fobj
 

Invoice Adresss Renders the invoice adresss

Parameters:
$PA 
$fobj 
Returns:
HTML-Content
Normal

user_orderedit_func::order_articles PA,
fobj
 

Oder Articles Renders the List of aricles

Parameters:
$PA 
$fobj 
Returns:
HTML-Content
Load the table TCA into local variable

GET Storage PID and order_id from Data

Select Order_articles

TS config of fields in list

Taken from class.db_list_extra.php

Only if we have a result

Header colum

: Switch to moneylib to use formating

Walk true Data

Not very noice to render html_code directly change rendering html code here

Trash icon

Cerate the summ row

New article

Deaktivated as first step, will see if remove

Todo:
should realy delated ? $params='&edit['.$foreign_table.']['.$order_storage_pid.']=new&defVals['.$foreign_table.'][order_id]='.urlencode($order_id); $content.='';

Always Update sum_price_net and sum_price_gross To Be shure everything is ok

user_orderedit_func::order_status &$  data,
&$  pObj
 

Oder Status Selects only the oder folders from the pages List

Parameters:
$data) 
See also:
tcafiles/tx_commerce_orders.tca.php
Ggf folder anlegen, wenn Sie nicht da sind

create a new data item array

Get the poages below $order_pid

Check if the Current PID is below $orderPid, id is below orderPid we could use the parent of this record to build up the select Drop Down otherwhise use the default PID

user_orderedit_func::sum_price_gross_format PA,
fobj
 

Artcile order_id Just a hidden field

Parameters:
$PA 
$fobj 
Returns:
HTML-Content


The documentation for this class was generated from the following file:
Generated on Sun Jan 13 23:12:28 2008 for tx_commerce by  doxygen 1.4.4