ZMObject
|
+--ZMLayout
public class ZMLayout
extends ZMObject
| Constructor Summary | |
|---|---|
ZMLayout() Create new instance. |
|
| Method Summary | |
|---|---|
| int | getFieldLength(string table, string field) Get the field length of a particular column. |
| array | Get the box names for the left column. |
| string | getProductTemplate(int productId) Find the product template for a given product. |
| array | Get the box names for the right column. |
| static void | instance() Get instance. |
| boolean | Checks if the left column is active. |
| boolean | Checks if the right column is active. |
| void | setLeftColBoxes(array boxes) Set the boxes for the left column. |
| void | setLeftColEnabled(boolean bool) Enable/disable the left column. |
| void | setRightColBoxes(array boxes) Set the boxes for the right column. |
| void | setRightColEnabled(boolean bool) Enable/disable the right column. |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| backtrace, create, log, singleton | |
public ZMLayout()
Create new instance. /
public int getFieldLength(string table, string field)
Get the field length of a particular column.
public array getLeftColBoxNames()
Get the box names for the left column.
public string getProductTemplate(int productId)
Find the product template for a given product.
public array getRightColBoxNames()
Get the box names for the right column.
public static void instance()
Get instance. /
public boolean isLeftColEnabled()
Checks if the left column is active.
true if the column is active, false if not.public boolean isRightColEnabled()
Checks if the right column is active.
true if the column is active, false if not.public void setLeftColBoxes(array boxes)
Set the boxes for the left column.
public void setLeftColEnabled(boolean bool)
Enable/disable the left column.
true the left column will be displayed.public void setRightColBoxes(array boxes)
Set the boxes for the right column.
public void setRightColEnabled(boolean bool)
Enable/disable the right column.
true the right column will be displayed.
Layout stuff.