Log/composite.php
function addChild(&$child)
    {
        /* Make sure this is a Log instance. */
        if (!is_a($child, 'Log')) {
            return false;
        }

        $this->_children[$child->_id] = $child;

        return true;
    }
function addChild(&$child)
    {
        /* Make sure this is a Log instance. */
        if (!is_a($child, 'Log')) {
            return false;
        }

        $this->_children[$child->_id] = $child;

        return true;
    }
function addChild ( & $ child ) { /* Make sure this is a Log instance. */ if ( ! is_a ( $ child , 'Log' ) ) { return false ; } $ this -> _children [ $ child -> _id ] = $ child ; return true ; }
Adds a Log instance to the list of children.

@param object    $child      The Log instance to add.

@return boolean  True if the Log instance was successfully added.

@access public
Adds a Log instance to the list of children .