[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] Sausalito



Hi,

I have one question to ask for now regarding the use of sausalito...

in an example php:

-------------Begin Code Quote--------------
<?php
include('ServerScriptHelper.php');
$sHelper = new ServerScriptHelper("", "admin");
$factory = $sHelper->getHtmlComponentFactory("base-am");
$page = $factory->getPage();
$myForm = $page->getForm();
$myPageBlock = $factory->getPagedBlock("Mysql Super User Settings");

// Parse Details

// Display form
$myPageBlock->addFormField(
    $factory->getFullName("fullNameField"),
    $factory->getLabel("fullNameField")
);

-------------End Code Quote--------------

What I would like to know is where do i define getFullName or find out about
$factory function list and definition in:
$factory->getFullName("fullNameField");

Any ideas? .. or if anyone needs further clarification I will get down to
it.. thanks.

chiang..