public function deleteTextContainer($name)
    {
        foreach ($this->languages as $lang) {
            $this->getPageTexts($lang);
            unset($this->contents[$lang][$name]);
            $this->writeTextsToFile($lang);
        }
    }
public function deleteTextContainer($name)
    {
        foreach ($this->languages as $lang) {
            $this->getPageTexts($lang);
            unset($this->contents[$lang][$name]);
            $this->writeTextsToFile($lang);
        }
    }
public function deleteTextContainer ( $ name ) { foreach ( $ this -> languages as $ lang ) { $ this -> getPageTexts ( $ lang ) ; unset ( $ this -> contents [ $ lang ] [ $ name ] ) ; $ this -> writeTextsToFile ( $ lang ) ; } }
Deletes a single text container

@param $name
Deletes a single text container