behaviors/TbWidget.php
public function copyId()
    {
        // todo: remove this when it's safe to do so.
        if (!isset($this->owner->htmlOptions['id'])) {
            $this->owner->htmlOptions['id'] = $this->owner->id;
        } else {
            $this->owner->id = $this->owner->htmlOptions['id'];
        }
    }
public function copyId()
    {
        // todo: remove this when it's safe to do so.
        if (!isset($this->owner->htmlOptions['id'])) {
            $this->owner->htmlOptions['id'] = $this->owner->id;
        } else {
            $this->owner->id = $this->owner->htmlOptions['id'];
        }
    }
public function copyId ( ) { // todo: remove this when it's safe to do so. if ( ! isset ( $ this -> owner -> htmlOptions [ 'id' ] ) ) { $ this -> owner -> htmlOptions [ 'id' ] = $ this -> owner -> id ; } else { $ this -> owner -> id = $ this -> owner -> htmlOptions [ 'id' ] ; } }
Copies the id to the widget HTML attributes or vise versa.
@deprecated by TbWidget::resolveId
Copies the id to the widget HTML attributes or vise versa .