function _Group::to_string
Search API
4.x _Group.php | _Group::to_string() |
5.x _Group.php | _Group::to_string() |
File
- classes/
_Group.php, line 513
Class
Code
function to_string()
{
$rtn = "";
$rtn .= " Group: $this->group_id | $this->title $this->catalog_year ($this->hours_required hrs req.)\n {\n";
if (!$this->list_courses->is_empty)
{
$rtn .= $this->list_courses->to_string();
}
if (!$this->list_groups->is_empty)
{
$rtn .= $this->list_groups->to_string();
}
$rtn .= " } \n";
return $rtn;
}