本文整理汇总了PHP中Domain::getDescription方法的典型用法代码示例。如果您正苦于以下问题:PHP Domain::getDescription方法的具体用法?PHP Domain::getDescription怎么用?PHP Domain::getDescription使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Domain
的用法示例。
在下文中一共展示了Domain::getDescription方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: copy
public function copy(Domain $domain)
{
$this->defaultValue = $domain->getDefaultValue();
$this->description = $domain->getDescription();
$this->name = $domain->getName();
$this->scale = $domain->getScale();
$this->size = $domain->getSize();
$this->sqlType = $domain->getSqlType();
$this->propelType = $domain->getType();
}
示例2: formObject
public function formObject()
{
$model = new Domain($this->data->id);
$this->data->forUpdate = $this->data->id != '';
$this->data->object = $model->getData();
$this->data->title = $this->data->forUpdate ? $model->getDescription() : _M("New Domain");
$this->data->save = "@fnbr20/admin/domain/save/" . $model->getId() . '|formObject';
$this->data->delete = "@fnbr20/admin/domain/delete/" . $model->getId() . '|formObject';
$this->render();
}
示例3: update
public function update($id, Domain $domain)
{
$this->_access->update(StudyPressDB::getTableNameDomain(), array(StudyPressDB::COL_NAME_DOMAIN => $domain->getName(), StudyPressDB::COL_DESCRIPTION_DOMAIN => $domain->getDescription()), array(StudyPressDB::COL_ID_DOMAIN => $id));
}