/** * Returns the item at index position <i>$i</i> in the list. <i>$i</i> must * be a valid index position in the list (i.e., 0 <= <i>$i</i> < size()). * * @param int $i * @return MString * @throws MWrongTypeException * @throws \OutOfBoundsException */ public function &at($i) { return parent::at($i); }
/** * Return the data at the <i>row</i> and <i>column</i>. * * @param int $row * @param int $column * @return mixed */ public function getData($row, $column = 0) { return $this->data->at($row); }
/** * Inserts MList <i>$value</i> at the end of the list. * * @param \MToolkit\Core\MList $value */ public function appendList(MList $value) { for ($i = 0; $i < $value->count(); $i++) { $this->append($value->at($i)); } }