public function isAttributeChanged($name, $identical = true)
    {
        if (parent::isAttributeChanged($name, $identical) === true) {
            return true;
        }
        $attributeName = $this->getTranslateAttributeName($name);
        return $this->getTranslation()->isAttributeChanged($attributeName, $identical);
    }
public function isAttributeChanged($name, $identical = true)
    {
        if (parent::isAttributeChanged($name, $identical) === true) {
            return true;
        }
        $attributeName = $this->getTranslateAttributeName($name);
        return $this->getTranslation()->isAttributeChanged($attributeName, $identical);
    }
public function isAttributeChanged ( $ name , $ identical = true ) { if ( parent :: isAttributeChanged ( $ name , $ identical ) === true ) { return true ; } $ attributeName = $ this -> getTranslateAttributeName ( $ name ) ; return $ this -> getTranslation ( ) -> isAttributeChanged ( $ attributeName , $ identical ) ; }
Returns a value indicating whether the named attribute has been changed
or attribute has been changed in translation relation model.
@param string $name the name of the attribute.
@param boolean $identical whether the comparison of new and old value is made for
identical values using `===`, defaults to `true`. Otherwise `==` is used for comparison.
@return boolean whether the attribute has been changed
Returns a value indicating whether the named attribute has been changed or attribute has been changed in translation relation model .