Public Member Functions | |
__construct () | |
load ($customerId, $field=null) | |
getLoginAtTimestamp () |
Definition at line 34 of file Customer.php.
__construct | ( | ) |
Constructor
By default is looking for first argument as array and assignes it as object attributes This behaviour may change in child classes
Reimplemented from Varien_Object.
Definition at line 36 of file Customer.php.
00037 { 00038 parent::__construct(); 00039 $this->_setResourceModel('log/customer'); 00040 }
getLoginAtTimestamp | ( | ) |
Definition at line 48 of file Customer.php.
00049 { 00050 if ($date = $this->getLoginAt()) { 00051 return strtotime($date); 00052 } 00053 return null; 00054 }
load | ( | $ | id, | |
$ | field = null | |||
) |
Load object data
integer | $id |
Reimplemented from Mage_Core_Model_Abstract.
Definition at line 42 of file Customer.php.
00043 { 00044 $this->_getResource()->load($this, $customerId); 00045 return $this; 00046 }