function __construct(Model\Order $order = null) { if ($order !== null) { $this->_order = $order; $this->_orderAttr = $order->getAttributes('formatted'); } parent::__construct('P'); }