Method called to associate a ChildSkill object to this object
through the ChildSkill foreign key attribute.

@param  ChildSkill $l ChildSkill
@return $this|\gossi\trixionary\model\Video The current object (for fluent API support)
489487
public function addFeaturedTutorialSkill(ChildSkill $l)
    {
        if ($this->collFeaturedTutorialSkills === null) {
            $this->initFeaturedTutorialSkills();
            $this->collFeaturedTutorialSkillsPartial = true;
        }

        if (!$this->collFeaturedTutorialSkills->contains($l)) {
            $this->doAddFeaturedTutorialSkill($l);
        }

        return $this;
    }
352661
public function addGroup(ChildGroup $l)
    {
        if ($this->collGroups === null) {
            $this->initGroups();
            $this->collGroupsPartial = true;
        }

        if (!$this->collGroups->contains($l)) {
            $this->doAddGroup($l);
        }

        return $this;
    }
1338296
public function addMultiple(ChildSkill $l)
    {
        if ($this->collMultiples === null) {
            $this->initMultiples();
            $this->collMultiplesPartial = true;
        }

        if (!$this->collMultiples->contains($l)) {
            $this->doAddMultiple($l);
        }

        return $this;
    }
983099
protected function setPlayerLoc($loc, $playerEmbedded, $playerAutoPlay)
    {
        self::$xml['player_loc'] = VideoItemPlayerTags::setPlayerLoc(
            $this->validator,
            $loc,
            $playerEmbedded,
            $playerAutoPlay
        );

        return $this;
    }
883078
public function addCustomer(Customer $l)
    {
        if ($this->collCustomers === null) {
            $this->initCustomers();
            $this->collCustomersPartial = true;
        }

        if (!in_array($l, $this->collCustomers->getArrayCopy(), true)) { // only add it if the **same** object is not already associated
            $this->doAddCustomer($l);

            if ($this->customersScheduledForDeletion and $this->customersScheduledForDeletion->contains($l)) {
                $this->customersScheduledForDeletion->remove($this->customersScheduledForDeletion->search($l));
            }
        }

        return $this;
    }
1304258
public function addPicture(ChildPicture $l)
    {
        if ($this->collPictures === null) {
            $this->initPictures();
            $this->collPicturesPartial = true;
        }

        if (!$this->collPictures->contains($l)) {
            $this->doAddPicture($l);
        }

        return $this;
    }
1359714
public function addDealerContact(ChildDealerContact $l)
    {
        if ($this->collDealerContacts === null) {
            $this->initDealerContacts();
            $this->collDealerContactsPartial = true;
        }

        if (!in_array($l, $this->collDealerContacts->getArrayCopy(), true)) { // only add it if the **same** object is not already associated
            $this->doAddDealerContact($l);
        }

        return $this;
    }
557759
public function removeSkillRelatedByParentId(ChildSkill $skillRelatedByParentId)
    {
        if ($this->getSkillsRelatedByParentId()->contains($skillRelatedByParentId)) { $skillDependency = new ChildSkillDependency();

            $skillDependency->setSkillRelatedByParentId($skillRelatedByParentId);
            if ($skillRelatedByParentId->isSkillRelatedByDependencyIdsLoaded()) {
                //remove the back reference if available
                $skillRelatedByParentId->getSkillRelatedByDependencyIds()->removeObject($this);
            }

            $skillDependency->setSkillRelatedByDependencyId($this);
            $this->removeChild(clone $skillDependency);
            $skillDependency->clear();

            $this->collSkillsRelatedByParentId->remove($this->collSkillsRelatedByParentId->search($skillRelatedByParentId));

            if (null === $this->skillsRelatedByParentIdScheduledForDeletion) {
                $this->skillsRelatedByParentIdScheduledForDeletion = clone $this->collSkillsRelatedByParentId;
                $this->skillsRelatedByParentIdScheduledForDeletion->clear();
            }

            $this->skillsRelatedByParentIdScheduledForDeletion->push($skillRelatedByParentId);
        }


        return $this;
    }
794968
public function addUserRole(ChildUserRole $l)
    {
        if ($this->collUserRoles === null) {
            $this->initUserRoles();
            $this->collUserRolesPartial = true;
        }

        if (!$this->collUserRoles->contains($l)) {
            $this->doAddUserRole($l);
        }

        return $this;
    }
1289417
public function setSkill(ChildSkill $v = null)
    {
        if ($v === null) {
            $this->setSkillId(NULL);
        } else {
            $this->setSkillId($v->getId());
        }

        $this->aSkill = $v;

        // Add binding for other direction of this n:n relationship.
        // If this object has already been added to the ChildSkill object, it will not be re-added.
        if ($v !== null) {
            $v->addSkillReference($this);
        }


        return $this;
    }
140632
protected function takeChildFromDOM($child)
    {
        $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
        switch ($absoluteNodeName) {
        case $this->lookupNamespace('yt') . ':' . 'description':
            $description = new Zend_Gdata_YouTube_Extension_Description();
            $description->transferFromDOM($child);
            $this->_description = $description;
            break;
        case $this->lookupNamespace('yt') . ':' . 'countHint':
            $countHint = new Zend_Gdata_YouTube_Extension_CountHint();
            $countHint->transferFromDOM($child);
            $this->_countHint = $countHint;
            break;
        case $this->lookupNamespace('yt') . ':' . 'playlistId':
            $playlistId = new Zend_Gdata_YouTube_Extension_PlaylistId();
            $playlistId->transferFromDOM($child);
            $this->_playlistId = $playlistId;
            break;
        case $this->lookupNamespace('gd') . ':' . 'feedLink':
            $feedLink = new Zend_Gdata_Extension_FeedLink();
            $feedLink->transferFromDOM($child);
            $this->_feedLink[] = $feedLink;
            break;
        default:
            parent::takeChildFromDOM($child);
            break;
        }
    }
1053243
public function addRootSkill(ChildSkill $l)
    {
        if ($this->collRootSkills === null) {
            $this->initRootSkills();
            $this->collRootSkillsPartial = true;
        }

        if (!$this->collRootSkills->contains($l)) {
            $this->doAddRootSkill($l);
        }

        return $this;
    }
537001
public function addReference(ChildReference $reference)
    {
        if ($this->collReferences === null) {
            $this->initReferences();
        }

        if (!$this->getReferences()->contains($reference)) {
            // only add it if the **same** object is not already associated
            $this->collReferences->push($reference);
            $this->doAddReference($reference);
        }

        return $this;
    }
1312202
public function addDealerBrand(ChildDealerBrand $l)
    {
        if ($this->collDealerBrands === null) {
            $this->initDealerBrands();
            $this->collDealerBrandsPartial = true;
        }

        if (!in_array($l, $this->collDealerBrands->getArrayCopy(), true)) { // only add it if the **same** object is not already associated
            $this->doAddDealerBrand($l);
        }

        return $this;
    }
285042
public function addKstrukturRelatedBySkillId(ChildKstruktur $l)
    {
        if ($this->collKstruktursRelatedBySkillId === null) {
            $this->initKstruktursRelatedBySkillId();
            $this->collKstruktursRelatedBySkillIdPartial = true;
        }

        if (!$this->collKstruktursRelatedBySkillId->contains($l)) {
            $this->doAddKstrukturRelatedBySkillId($l);
        }

        return $this;
    }
867299
public function addNestedSetChild(ChildCategory $category)
    {
        if (null === $this->collNestedSetChildren) {
            $this->initNestedSetChildren();
        }
        if (!in_array($category, $this->collNestedSetChildren->getArrayCopy(), true)) { // only add it if the **same** object is not already associated
            $this->collNestedSetChildren[]= $category;
            $category->setParent($this);
        }
    }
1093827
public function addM2P(ChildM2P $l)
    {
        if ($this->collM2Ps === null) {
            $this->initM2Ps();
            $this->collM2PsPartial = true;
        }

        if (!$this->collM2Ps->contains($l)) {
            $this->doAddM2P($l);

            if ($this->m2PsScheduledForDeletion and $this->m2PsScheduledForDeletion->contains($l)) {
                $this->m2PsScheduledForDeletion->remove($this->m2PsScheduledForDeletion->search($l));
            }
        }

        return $this;
    }