protected function setTitleEditPriceRule()
    {
        if (isset($this->data_rule['price_rule_id'])) {
            $title = $this->text('Edit %name', array('%name' => $this->data_rule['name']));
        } else {
            $title = $this->text('Add price rule');
        }

        $this->setTitle($title);
    }
protected function setTitleEditPriceRule()
    {
        if (isset($this->data_rule['price_rule_id'])) {
            $title = $this->text('Edit %name', array('%name' => $this->data_rule['name']));
        } else {
            $title = $this->text('Add price rule');
        }

        $this->setTitle($title);
    }
protected function setTitleEditPriceRule ( ) { if ( isset ( $ this -> data_rule [ 'price_rule_id' ] ) ) { $ title = $ this -> text ( 'Edit %name' , array ( '%name' => $ this -> data_rule [ 'name' ] ) ) ; } else { $ title = $ this -> text ( 'Add price rule' ) ; } $ this -> setTitle ( $ title ) ; }
Sets title on the edit price rule page
Sets title on the edit price rule page