[TYPO3-dev] API MAC MADE
Sebastiaan van Parijs
sebastiaan at framed.nl
Fri Dec 14 11:11:03 CET 2007
Malte Jansen wrote:
> Sebastiaan van Parijs schrieb:
>> Sebastiaan van Parijs wrote:
>>> Hey guys,
>>>
>>> Im working with API_MACMADE and i'm having trouble with the functions
>>> that use $feAdminConf, $feAdminSection. I don't have a clue how to is
>>> these. So is there anyone using this API and could you please give as
>>> much Code samples as possible.
>>>
>>> I m as specially working with fe_createInput, fe_createTextArea,
>>> fe_createSelect, fe_createSelectFromTable. So those few samples would
>>> be a appreciated.
>>>
>>> Thnx,
>>> Sebastiaan
>>
>> Is there anyone with any experience with this api "api_macmade". Or
>> could some one help me write the code necassery, to call upon the
>> right function properties. The problem is i can reproduce the array
>> ($feAdminConf) needed. Could some one help me reverse engineer it or
>> maybe show me some code how to call apon these functions...
>
> Hi,
>
> You just have to use
> require_once(api_macmade-class-file-path);
>
> Than you can use the function.
>
> Cheers,
>
> Malte
Im using the function but ill show you what the problem is:
require_once(t3lib_extMgm::extPath('api_macmade').'class.tx_apimacmade.php');
$feAdminConf = array();
//THESE NEED TO BE FILLED IN TO DO SOME STUFF IN THE API
$feAdminConf['table'] = $table_row;
$feAdminConf[ $eval . '.' ][ 'required' ];
$feAdminConf[ $eval . '.' ][ 'evalValues.' ];
switch(strtoupper($type)){
//INPUT
case 'INPUT':
return $this->api->fe_createInput($type,$label,$feAdminConf,$eval);
break;
So how do i address the function properly with the right array?
You got a clue?
More information about the TYPO3-dev
mailing list