Prev | Current Page 618 | Next

Emilian Balanescu and Cristian Darie

"Beginning PHP and MySQL E-Commerce: From Novice to Professional, Second Edition"

tpl in the presentation/templates folder, and
add the following code to it:
{* customer_logged.tpl *}
{load_presentation_object filename="customer_logged" assign="obj"}

4. Create a new presentation object file named customer_logged.php in the presentation folder, and
add the following to it:
class CustomerLogged
{
// Public attributes
public $mCustomerName;
public $mCreditCardAction = 'Add';
public $mAddressAction = 'Add';
public $mLinkToAccountDetails;
public $mLinkToCreditCardDetails;
public $mLinkToAddressDetails;
public $mLinkToLogout;
public $mSelectedMenuItem;
CHAPTER 16 ?–  MANAGING CUSTOMER DETAILS 512
// Class constructor
public function __construct()
{
$this->mLinkToAccountDetails = Link::ToAccountDetails();
$this->mLinkToCreditCardDetails = Link::ToCreditCardDetails();
$this->mLinkToAddressDetails = Link::ToAddressDetails();
$this->mLinkToLogout = Link::Build('index.


Pages:
606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630
2 1 mieszkania sosnowiec agencja reklamowa poznań parasole reklamowe Paula Atherton