Exemplo n.º 1
0
 /**
  * Sets the country of this user.
  *
  * @param Tx_Oelib_Model_Country $country
  *        the country to set for this place, can be NULL for "no country"
  *
  * @return void
  */
 public function setCountry(Tx_Oelib_Model_Country $country = NULL)
 {
     $countryCode = $country !== NULL ? $country->getIsoAlpha3Code() : '';
     $this->setAsString('static_info_country', $countryCode);
 }
Exemplo n.º 2
0
 /**
  * @test
  */
 public function isReadOnlyIsTrue()
 {
     $model = new Tx_Oelib_Model_Country();
     self::assertTrue($model->isReadOnly());
 }