Class: control
Source Location: /backend/classes/control.class.php
Class control
Methods
void control(
object
$control, array
$member, array
$objectdata, object
$spunq
)
|
|
control::control()
// purpose: constructor
Parameters:
|
object |
$control: |
|
|
array |
$member: |
|
|
array |
$objectdata: |
|
|
object |
$spunq: |
|
void __construct(
object
$control, array
$member, array
$objectdata, object
$spunq
)
|
|
control::__construct()
// purpose: constructor for php 5
Parameters:
|
object |
$control: |
|
|
array |
$member: |
|
|
array |
$objectdata: |
|
|
object |
$spunq: |
|
void checkSource(
string
$source,
$member
)
|
|
control::checkSource()
// purpose: check the source from a given control element and return the htmldata
Parameters:
|
string |
$source: |
// given source file for the control element |
|
|
$member: |
|
void CtrlEditor(
string
$SOURCE, string
$ENDTAG, string
$VERGET, string
$VERPOST
)
|
|
control::fckeditor()
// purpose: returns the values of fckeditor for further use in smarty
Parameters:
|
string |
$SOURCE: |
// htmlcode |
|
string |
$ENDTAG: |
// htmlcode to finish the element |
|
string |
$VERGET: |
// stored php code as verify get |
|
string |
$VERPOST: |
// stored php code as veriyf post |
void delControl(
int
$oid
)
|
|
control::delControl()
// purpose: delete a single control row
Parameters:
|
int |
$oid: |
// control id as stored in database |
array getControl(
int
$id
)
|
|
control::getControl()
// purpose: returns control data by given control_id
Parameters:
|
int |
$id: |
// control id as stored in database |
void getOutput(
mixed
$data, array
$member
)
|
|
control::getOutput()
// purpose: reads control_verify_post and returns values for sql-query
Parameters:
|
array |
$member: |
// given member to create an output |
|
mixed |
$data: |
// data to mix up with html and return data to store in the database |
control::listControls()
// purpose: returns all controlelements
void saveControl(
array
$POST
)
|
|
control::saveControl()
// purpose: save control data
Parameters:
|
array |
$POST: |
// post array |
void simpleinput(
string
$SOURCE, string
$ENDTAG, string
$VERGET, string
$VERPOST
)
|
|
control::simpleinput()
// purpose: generates input field for simple input ... executes verify_get
Parameters:
|
string |
$SOURCE: |
// htmlcode |
|
string |
$ENDTAG: |
// htmlcode to finish the element |
|
string |
$VERGET: |
// stored php code as verify get |
|
string |
$VERPOST: |
// stored php code as veriyf post |
|
|