Welcome, Guest. Please login or register.
Friday, July 30, 2010 (15:51)
Home Help Search Login Register
News: mwCMS now uses Mantis (on SourceForge.net) as bugtracker.

+  mwCMS
|-+  English support
| |-+  Bugs, problems and questions
| | |-+  "$internalHyperlinks" is not documented
« previous next »
Pages: [1] Print
Author Topic: "$internalHyperlinks" is not documented  (Read 1219 times)
Buggy
Newbie
*
Posts: 7

View Profile
« on: Tuesday, July 08, 2008 (16:27) »

"$internalHyperlinks" is not documented:

/**
 * Converts the specified lines into an array.
 *
 * @param   integer   $from: first linenumber to convert (scope: 1 to N)
 * @param   integer   $to: last linumber to convert (scope: $from to N)
 * @return  array     $loopArrayRows: the array with the parsed rows
**/
function ParseLinesIntoArray($from$to$internalHyperlinks)


cu buggy
« Last Edit: Monday, September 29, 2008 (16:52) by Buggy » Logged
ClausVB
Administrator
mwCMS supporter
*****
Posts: 73


View Profile
« Reply #1 on: Monday, July 28, 2008 (13:56) »

Fixed in the next release.

Code: [Select]
<?php
(...)

/**
 * Converts the specified lines into an array.
 *
 * @param   integer   $from: first linenumber to convert (scope: 1 to N)
 * @param   integer   $to: last linumber to convert (scope: $from to N)
 * @param   array     $internalHyperlinks: URI => navigation (e.g. [01_home] => Home)
 * @return  array     $loopArrayRows: the array with the parsed rows
**/
function ParseLinesIntoArray($from$to$internalHyperlinks)
{
  
$loopArrayRows = array(); // initialize LOOP Array
  
for ($i $from$i <= $to$i++)
  {
    
array_push(
      
$loopArrayRows,
      array(
        
'nummer' => $i,
        
'topnav_content' => $this->ParsingEveryLine(
          
$this->lines[$i],
          
$internalHyperlinks
        
)
      )
    );
  }

  return 
$loopArrayRows;
}

(...)
?>
Logged
Pages: [1] Print 
« previous next »
 


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC Valid XHTML 1.0! Valid CSS!