|
|
|
@ -336,6 +336,7 @@ class CQuizQuestion |
|
|
|
* @param int $iid |
|
|
|
* @param int $iid |
|
|
|
* |
|
|
|
* |
|
|
|
* @return CQuizQuestion |
|
|
|
* @return CQuizQuestion |
|
|
|
|
|
|
|
* @deprecated Use setIid() |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function setId($iid) |
|
|
|
public function setId($iid) |
|
|
|
{ |
|
|
|
{ |
|
|
|
@ -348,12 +349,38 @@ class CQuizQuestion |
|
|
|
* Get id. |
|
|
|
* Get id. |
|
|
|
* |
|
|
|
* |
|
|
|
* @return int |
|
|
|
* @return int |
|
|
|
|
|
|
|
* @deprecated Use getIid() |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function getId() |
|
|
|
public function getId() |
|
|
|
{ |
|
|
|
{ |
|
|
|
return $this->iid; |
|
|
|
return $this->iid; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* Set id. |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @param int $iid |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @return CQuizQuestion |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public function setIid($iid) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
$this->iid = $iid; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return $this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* Get id. |
|
|
|
|
|
|
|
* This method is also used by Twig to get the iid property. |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @return int |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public function getIid() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return $this->iid; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Set cId. |
|
|
|
* Set cId. |
|
|
|
* |
|
|
|
* |
|
|
|
|