Hallo =)
Was bezweckt genau die Extension ("class.tslib_pibase.php")
Von dieser Extension erbt meine Klasse class.tx_ilcbuglist_pi1.php und in deren Main wird mit
$this->pi_setPiVarDefaults();
$this->pi_loadLL();
darauf zugegriffen.
Das Problem ist, welche Funktion dieser Aufruf (also "pi_setPiVarDefaults();""pi_loadLL();")bezweckt.
	
							
						
					Was bezweckt genau die Extension ("class.tslib_pibase.php")
Von dieser Extension erbt meine Klasse class.tx_ilcbuglist_pi1.php und in deren Main wird mit
$this->pi_setPiVarDefaults();
$this->pi_loadLL();
darauf zugegriffen.
Das Problem ist, welche Funktion dieser Aufruf (also "pi_setPiVarDefaults();""pi_loadLL();")bezweckt.
PHP-Code:
	
	
require_once(PATH_tslib.'class.tslib_pibase.php');
class tx_ilcbuglist_pi1 extends tslib_pibase {
    var $prefixId      = 'tx_ilcbuglist_pi1';        // Same as class name
    var $scriptRelPath = 'pi1/class.tx_ilcbuglist_pi1.php';    // Path to this script relative to the extension dir.
    var $extKey        = 'ilc_buglist';    // The extension key.
    var $pi_checkCHash = true;
    var $content = null;
function main($content, $conf) {
        $TYPO3_CONF_VARS['EXT']['noEdit'] = 0;
        $this->conf = $conf;
        $this->pi_setPiVarDefaults();
        $this->pi_loadLL();
        $post = t3lib_div::_POST();
        $get = t3lib_div::_GET();
        //check if user is logged in
        if ($username != '') {
            //back button pushed
            if (isset($post['backButton'])) {
                $content = $this -> displayElements('back', 10);
            }//next button pushed
            elseif (isset($post['nextButton'])) {
               ........
               .....
               ..
               .
            }
       }
} 
 
          
Kommentar