add getProjectTitle() to buildBase as shorthand for getProject()->getTitle()

This commit is contained in:
meadsteve 2013-12-17 15:14:26 +00:00
commit 248579f67d

View file

@ -550,6 +550,17 @@ class BuildBase extends Model
return $rtn;
}
/**
* Get the value of the project's Title / title.
*
* @return string
*/
public function getProjectTitle()
{
return $this->getProject()->getTitle();
}
/**
* Set Project - Accepts an ID, an array representing a Project or a Project model.
*