/** * Set default values by entity * * @param Newscoop\Entity\Language $language * @return void */ public function setDefaultsFromEntity(Language $language) { $this->setDefaults(array('name' => $language->getName(), 'native_name' => $language->getNativeName(), 'code_page' => $language->getCodePage(), 'code' => $language->getCode(), 'month1' => $language->getMonth1(), 'month2' => $language->getMonth2(), 'month3' => $language->getMonth3(), 'month4' => $language->getMonth4(), 'month5' => $language->getMonth5(), 'month6' => $language->getMonth6(), 'month7' => $language->getMonth7(), 'month8' => $language->getMonth8(), 'month9' => $language->getMonth9(), 'month10' => $language->getMonth10(), 'month11' => $language->getMonth11(), 'month12' => $language->getMonth12(), 'short_month1' => $language->getShortMonth1(), 'short_month2' => $language->getShortMonth2(), 'short_month3' => $language->getShortMonth3(), 'short_month4' => $language->getShortMonth4(), 'short_month5' => $language->getShortMonth5(), 'short_month6' => $language->getShortMonth6(), 'short_month7' => $language->getShortMonth7(), 'short_month8' => $language->getShortMonth8(), 'short_month9' => $language->getShortMonth9(), 'short_month10' => $language->getShortMonth10(), 'short_month11' => $language->getShortMonth11(), 'short_month12' => $language->getShortMonth12(), 'day1' => $language->getDay1(), 'day2' => $language->getDay2(), 'day3' => $language->getDay3(), 'day4' => $language->getDay4(), 'day5' => $language->getDay5(), 'day6' => $language->getDay6(), 'day7' => $language->getDay7(), 'short_day1' => $language->getShortDay1(), 'short_day2' => $language->getShortDay2(), 'short_day3' => $language->getShortDay3(), 'short_day4' => $language->getShortDay4(), 'short_day5' => $language->getShortDay5(), 'short_day6' => $language->getShortDay6(), 'short_day7' => $language->getShortDay7())); }
public function getDay6() { $this->__load(); return parent::getDay6(); }