Example #1
0
 /**
  * Retrieve ID (Formatted by default)
  * @param bool $formatted (optional) Whether ID should be formatted for external use or not
  * @return string ID
  */
 public function get_id($formatted = true)
 {
     $id = parent::get_id();
     if ($formatted) {
         $this->add_prefix_ref($id);
     }
     return $id;
 }