Home » Projects » Mambo CMS » SVN » Browse repository
Diff of /mambo/branches/4.6/index.php
Parent Directory
|
Revision Log
|
Patch
| 1309 |
$botclass = str_replace('.','_',$bot->element); |
$botclass = str_replace('.','_',$bot->element); |
| 1310 |
$newbot = new $botclass(); |
$newbot = new $botclass(); |
| 1311 |
$function = array ($newbot, 'perform'); |
$function = array ($newbot, 'perform'); |
| 1312 |
$this->_events[$newbot->register()][] = array ($function, $i); |
$selected = $newbot->register(); |
| 1313 |
|
if (is_array($selected)) foreach ($selected as $select) $this->_events[$select][] = array($function, $i); |
| 1314 |
|
else $this->_events[$selected][] = array ($function, $i); |
| 1315 |
$this->_registered[$i] = true; |
$this->_registered[$i] = true; |
| 1316 |
} |
} |
| 1317 |
$total++; |
$total++; |
| 1536 |
} |
} |
| 1537 |
|
|
| 1538 |
/** |
/** |
| 1539 |
|
* User login details class |
| 1540 |
|
* @package Mambo |
| 1541 |
|
*/ |
| 1542 |
|
class mosLoginDetails { |
| 1543 |
|
var $_user = ''; |
| 1544 |
|
var $_password = ''; |
| 1545 |
|
var $_remember = ''; |
| 1546 |
|
|
| 1547 |
|
function mosLoginDetails ($user, $password='', $remember='') { |
| 1548 |
|
$this->_user = $user; |
| 1549 |
|
$this->_password = $password; |
| 1550 |
|
$this->_remember = $remember; |
| 1551 |
|
} |
| 1552 |
|
|
| 1553 |
|
function getUser () { |
| 1554 |
|
return $this->_user; |
| 1555 |
|
} |
| 1556 |
|
|
| 1557 |
|
function getPassword () { |
| 1558 |
|
return $this->_password; |
| 1559 |
|
} |
| 1560 |
|
|
| 1561 |
|
function getRemember () { |
| 1562 |
|
return $this->_remember; |
| 1563 |
|
} |
| 1564 |
|
|
| 1565 |
|
} |
| 1566 |
|
/** |
| 1567 |
* Mambo Mainframe class |
* Mambo Mainframe class |
| 1568 |
* |
* |
| 1569 |
* Provide many supporting API functions |
* Provide many supporting API functions |
|
|
Legend:
| Removed from v.208 |
|
| changed lines |
| |
Added in v.209 |
|
|

Web Hosting provided by Network
Redux.