Home
last modified time | relevance | path

Searched refs:limitfrom (Results 1 – 25 of 188) sorted by relevance

12345678

/dports/www/moodle39/moodle/mod/lti/service/gradebookservices/classes/local/resources/
H A Dresults.php122 $limitfrom = optional_param('from', 0, PARAM_INT);
145 * @param int $limitfrom Offset for the first result to include in this paged set
175 $grades = array_slice($resultgrades, $limitfrom);
181 if ($limitfrom >= $totalcount || $limitfrom < 0) {
186 $limitprev = $limitfrom - $limitnum >= 0 ? $limitfrom - $limitnum : 0;
187 $limitcurrent = $limitfrom;
189 $limitfrom += $limitnum;
195 if (($limitfrom <= $totalcount - 1) && (!$outofrange)) {
196 $nextpage = new \moodle_url($baseurl, ['from' => $limitfrom]);
207 if (($limitfrom <= $totalcount - 1) && (!$outofrange)) {
[all …]
H A Dlineitems.php108 $limitfrom = optional_param('from', 0, PARAM_INT);
137 * @param int $limitfrom Offset of the first line item to return
146 $tag, $limitfrom, $limitnum, $totalcount, $typeid, $response) { argument
153 if ($limitfrom >= $totalcount || $limitfrom < 0) {
158 $limitprev = $limitfrom - $limitnum >= 0 ? $limitfrom - $limitnum : 0;
159 $limitcurrent = $limitfrom;
161 $limitfrom += $limitnum;
176 if (($limitfrom <= $totalcount - 1) && (!$outofrange)) {
177 $nextpage = new \moodle_url($baseurl, ['from' => $limitfrom]);
187 if (($limitfrom <= $totalcount - 1) && (!$outofrange)) {
[all …]
/dports/www/moodle310/moodle/mod/lti/service/gradebookservices/classes/local/resources/
H A Dresults.php122 $limitfrom = optional_param('from', 0, PARAM_INT);
145 * @param int $limitfrom Offset for the first result to include in this paged set
175 $grades = array_slice($resultgrades, $limitfrom);
181 if ($limitfrom >= $totalcount || $limitfrom < 0) {
186 $limitprev = $limitfrom - $limitnum >= 0 ? $limitfrom - $limitnum : 0;
187 $limitcurrent = $limitfrom;
189 $limitfrom += $limitnum;
195 if (($limitfrom <= $totalcount - 1) && (!$outofrange)) {
196 $nextpage = new \moodle_url($baseurl, ['from' => $limitfrom]);
207 if (($limitfrom <= $totalcount - 1) && (!$outofrange)) {
[all …]
H A Dlineitems.php108 $limitfrom = optional_param('from', 0, PARAM_INT);
137 * @param int $limitfrom Offset of the first line item to return
146 $tag, $limitfrom, $limitnum, $totalcount, $typeid, $response) { argument
153 if ($limitfrom >= $totalcount || $limitfrom < 0) {
158 $limitprev = $limitfrom - $limitnum >= 0 ? $limitfrom - $limitnum : 0;
159 $limitcurrent = $limitfrom;
161 $limitfrom += $limitnum;
176 if (($limitfrom <= $totalcount - 1) && (!$outofrange)) {
177 $nextpage = new \moodle_url($baseurl, ['from' => $limitfrom]);
187 if (($limitfrom <= $totalcount - 1) && (!$outofrange)) {
[all …]
/dports/www/moodle311/moodle/mod/lti/service/gradebookservices/classes/local/resources/
H A Dresults.php122 $limitfrom = optional_param('from', 0, PARAM_INT);
145 * @param int $limitfrom Offset for the first result to include in this paged set
175 $grades = array_slice($resultgrades, $limitfrom);
181 if ($limitfrom >= $totalcount || $limitfrom < 0) {
186 $limitprev = $limitfrom - $limitnum >= 0 ? $limitfrom - $limitnum : 0;
187 $limitcurrent = $limitfrom;
189 $limitfrom += $limitnum;
195 if (($limitfrom <= $totalcount - 1) && (!$outofrange)) {
196 $nextpage = new \moodle_url($baseurl, ['from' => $limitfrom]);
207 if (($limitfrom <= $totalcount - 1) && (!$outofrange)) {
[all …]
H A Dlineitems.php108 $limitfrom = optional_param('from', 0, PARAM_INT);
137 * @param int $limitfrom Offset of the first line item to return
146 $tag, $limitfrom, $limitnum, $totalcount, $typeid, $response) { argument
153 if ($limitfrom >= $totalcount || $limitfrom < 0) {
158 $limitprev = $limitfrom - $limitnum >= 0 ? $limitfrom - $limitnum : 0;
159 $limitcurrent = $limitfrom;
161 $limitfrom += $limitnum;
176 if (($limitfrom <= $totalcount - 1) && (!$outofrange)) {
177 $nextpage = new \moodle_url($baseurl, ['from' => $limitfrom]);
187 if (($limitfrom <= $totalcount - 1) && (!$outofrange)) {
[all …]
/dports/www/moodle310/moodle/lib/dml/
H A Dmoodle_database.php1085 * @param int $limitfrom Where to start results from
1089 protected function normalise_limit_from_num($limitfrom, $limitnum) { argument
1093 if ($limitfrom === null || $limitfrom === '' || $limitfrom === -1) {
1094 $limitfrom = 0;
1101 if (!is_numeric($limitfrom)) {
1102 $strvalue = var_export($limitfrom, true);
1105 } else if ($limitfrom < 0) {
1120 $limitfrom = (int)$limitfrom;
1122 $limitfrom = max(0, $limitfrom);
1125 return array($limitfrom, $limitnum);
[all …]
/dports/www/moodle39/moodle/lib/dml/
H A Dmoodle_database.php1038 * @param int $limitfrom Where to start results from
1042 protected function normalise_limit_from_num($limitfrom, $limitnum) { argument
1046 if ($limitfrom === null || $limitfrom === '' || $limitfrom === -1) {
1047 $limitfrom = 0;
1054 if (!is_numeric($limitfrom)) {
1055 $strvalue = var_export($limitfrom, true);
1058 } else if ($limitfrom < 0) {
1073 $limitfrom = (int)$limitfrom;
1075 $limitfrom = max(0, $limitfrom);
1078 return array($limitfrom, $limitnum);
[all …]
/dports/www/moodle311/moodle/lib/dml/
H A Dmoodle_database.php1085 * @param int $limitfrom Where to start results from
1089 protected function normalise_limit_from_num($limitfrom, $limitnum) { argument
1093 if ($limitfrom === null || $limitfrom === '' || $limitfrom === -1) {
1094 $limitfrom = 0;
1101 if (!is_numeric($limitfrom)) {
1102 $strvalue = var_export($limitfrom, true);
1105 } else if ($limitfrom < 0) {
1120 $limitfrom = (int)$limitfrom;
1122 $limitfrom = max(0, $limitfrom);
1125 return array($limitfrom, $limitnum);
[all …]
/dports/www/moodle311/moodle/lib/classes/log/
H A Dsql_reader.php48 * @param int $limitfrom
52 public function get_events_select($selectwhere, array $params, $sort, $limitfrom, $limitnum); argument
77 * @param int $limitfrom
81 …public function get_events_select_iterator($selectwhere, array $params, $sort, $limitfrom, $limitn… argument
/dports/www/moodle310/moodle/lib/classes/log/
H A Dsql_reader.php48 * @param int $limitfrom
52 public function get_events_select($selectwhere, array $params, $sort, $limitfrom, $limitnum); argument
77 * @param int $limitfrom
81 …public function get_events_select_iterator($selectwhere, array $params, $sort, $limitfrom, $limitn… argument
/dports/www/moodle39/moodle/lib/classes/log/
H A Dsql_reader.php48 * @param int $limitfrom
52 public function get_events_select($selectwhere, array $params, $sort, $limitfrom, $limitnum); argument
77 * @param int $limitfrom
81 …public function get_events_select_iterator($selectwhere, array $params, $sort, $limitfrom, $limitn… argument
/dports/www/moodle311/moodle/lib/dml/tests/fixtures/
H A Dread_slave_moodle_database_special.php44 * @param int $limitfrom return a subset of records, starting at this point (optional).
48 public function get_records_sql($sql, array $params = null, $limitfrom = 0, $limitnum = 0) { argument
57 * @param int $limitfrom
61 public function get_recordset_sql($sql, array $params = null, $limitfrom = 0, $limitnum = 0) { argument
/dports/www/moodle310/moodle/lib/dml/tests/fixtures/
H A Dread_slave_moodle_database_special.php44 * @param int $limitfrom return a subset of records, starting at this point (optional).
48 public function get_records_sql($sql, array $params = null, $limitfrom = 0, $limitnum = 0) { argument
57 * @param int $limitfrom
61 public function get_recordset_sql($sql, array $params = null, $limitfrom = 0, $limitnum = 0) { argument
/dports/www/moodle39/moodle/lib/dml/tests/fixtures/
H A Dread_slave_moodle_database_special.php44 * @param int $limitfrom return a subset of records, starting at this point (optional).
48 public function get_records_sql($sql, array $params = null, $limitfrom = 0, $limitnum = 0) { argument
57 * @param int $limitfrom
61 public function get_recordset_sql($sql, array $params = null, $limitfrom = 0, $limitnum = 0) { argument
/dports/www/moodle310/moodle/admin/tool/log/store/standard/classes/log/
H A Dstore.php72 public function get_events_select($selectwhere, array $params, $sort, $limitfrom, $limitnum) { argument
78 …ecordset_select('logstore_standard_log', $selectwhere, $params, $sort, '*', $limitfrom, $limitnum);
101 * @param int $limitfrom
105 …public function get_events_select_iterator($selectwhere, array $params, $sort, $limitfrom, $limitn… argument
110 …ecordset_select('logstore_standard_log', $selectwhere, $params, $sort, '*', $limitfrom, $limitnum);
/dports/www/moodle311/moodle/admin/tool/log/store/standard/classes/log/
H A Dstore.php72 public function get_events_select($selectwhere, array $params, $sort, $limitfrom, $limitnum) { argument
78 …ecordset_select('logstore_standard_log', $selectwhere, $params, $sort, '*', $limitfrom, $limitnum);
101 * @param int $limitfrom
105 …public function get_events_select_iterator($selectwhere, array $params, $sort, $limitfrom, $limitn… argument
110 …ecordset_select('logstore_standard_log', $selectwhere, $params, $sort, '*', $limitfrom, $limitnum);
/dports/www/moodle39/moodle/admin/tool/log/store/standard/classes/log/
H A Dstore.php72 public function get_events_select($selectwhere, array $params, $sort, $limitfrom, $limitnum) { argument
78 …ecordset_select('logstore_standard_log', $selectwhere, $params, $sort, '*', $limitfrom, $limitnum);
101 * @param int $limitfrom
105 …public function get_events_select_iterator($selectwhere, array $params, $sort, $limitfrom, $limitn… argument
110 …ecordset_select('logstore_standard_log', $selectwhere, $params, $sort, '*', $limitfrom, $limitnum);
/dports/www/moodle310/moodle/favourites/classes/local/repository/
H A Dfavourite_repository_interface.php59 …* @param int $limitfrom optional pagination control for returning a subset of records, starting at…
63 public function find_all(int $limitfrom = 0, int $limitnum = 0) : array; argument
69 …* @param int $limitfrom optional pagination control for returning a subset of records, starting at…
73 public function find_by(array $criteria, int $limitfrom = 0, int $limitnum = 0) : array; argument
/dports/www/moodle311/moodle/favourites/classes/local/repository/
H A Dfavourite_repository_interface.php59 …* @param int $limitfrom optional pagination control for returning a subset of records, starting at…
63 public function find_all(int $limitfrom = 0, int $limitnum = 0) : array; argument
69 …* @param int $limitfrom optional pagination control for returning a subset of records, starting at…
73 public function find_by(array $criteria, int $limitfrom = 0, int $limitnum = 0) : array; argument
/dports/www/moodle39/moodle/favourites/classes/local/repository/
H A Dfavourite_repository_interface.php59 …* @param int $limitfrom optional pagination control for returning a subset of records, starting at…
63 public function find_all(int $limitfrom = 0, int $limitnum = 0) : array; argument
69 …* @param int $limitfrom optional pagination control for returning a subset of records, starting at…
73 public function find_by(array $criteria, int $limitfrom = 0, int $limitnum = 0) : array; argument
/dports/www/moodle310/moodle/mod/lti/service/memberships/classes/local/service/
H A Dmemberships.php122 * @param int $limitfrom Position of first record to be returned
132 …public static function get_users_json($resource, $context, $contextid, $tool, $role, $limitfrom, $… argument
145 …$json = $memberships->get_members_json($resource, $context, $course, $role, $limitfrom, $limitnum,…
157 * @param int $limitfrom Position of first record to be returned
166 …public function get_members_json($resource, $context, $course, $role, $limitfrom, $limitnum, $lti,… argument
185 …$json = $this->users_to_json($resource, $users, $course, $exclude, $limitfrom, $limitnum, $lti, $i…
187 …$json = $this->users_to_jsonld($resource, $users, $course->id, $exclude, $limitfrom, $limitnum, $l…
203 * @param int $limitfrom Position of first record to be returned
212 private function users_to_jsonld($resource, $users, $contextid, $exclude, $limitfrom, $limitnum, argument
/dports/www/moodle311/moodle/mod/lti/service/memberships/classes/local/service/
H A Dmemberships.php122 * @param int $limitfrom Position of first record to be returned
132 …public static function get_users_json($resource, $context, $contextid, $tool, $role, $limitfrom, $… argument
145 …$json = $memberships->get_members_json($resource, $context, $course, $role, $limitfrom, $limitnum,…
157 * @param int $limitfrom Position of first record to be returned
166 …public function get_members_json($resource, $context, $course, $role, $limitfrom, $limitnum, $lti,… argument
185 …$json = $this->users_to_json($resource, $users, $course, $exclude, $limitfrom, $limitnum, $lti, $i…
187 …$json = $this->users_to_jsonld($resource, $users, $course->id, $exclude, $limitfrom, $limitnum, $l…
203 * @param int $limitfrom Position of first record to be returned
212 private function users_to_jsonld($resource, $users, $contextid, $exclude, $limitfrom, $limitnum, argument
/dports/www/moodle39/moodle/mod/lti/service/memberships/classes/local/service/
H A Dmemberships.php113 * @param int $limitfrom Position of first record to be returned
123 …public static function get_users_json($resource, $context, $contextid, $tool, $role, $limitfrom, $… argument
136 …$json = $memberships->get_members_json($resource, $context, $course, $role, $limitfrom, $limitnum,…
148 * @param int $limitfrom Position of first record to be returned
157 …public function get_members_json($resource, $context, $course, $role, $limitfrom, $limitnum, $lti,… argument
176 …$json = $this->users_to_json($resource, $users, $course, $exclude, $limitfrom, $limitnum, $lti, $i…
178 …$json = $this->users_to_jsonld($resource, $users, $course->id, $exclude, $limitfrom, $limitnum, $l…
194 * @param int $limitfrom Position of first record to be returned
203 private function users_to_jsonld($resource, $users, $contextid, $exclude, $limitfrom, $limitnum, argument
/dports/www/moodle310/moodle/favourites/classes/local/service/
H A Duser_favourite_service.php93 …* @param int $limitfrom optional pagination control for returning a subset of records, starting at…
98 …public function find_favourites_by_type(string $component, string $itemtype, int $limitfrom = 0, i… argument
108 $limitfrom,
121 …* @param int $limitfrom optional pagination control for returning a subset of records, starting at…
126 …public function find_all_favourites(string $component, array $itemtypes = [], int $limitfrom = 0, … argument
140 $limitfrom,

12345678