$page_meta = $page->findOne(['url' => 'blog']); $this->view->params['keyword'] = 'Blog Mitiz Technologies'; $this->view->params['description'] = 'Mitiz Technologies’s Blog- Read our blog for latest update in web, technology, mobile app, software, Cloud computing solution etc.'; $data['page_title'] = ' Mitiz Technologies Blog - Latest news and update over web, mobile & software development'; $client_logos = new \app\models\Clients; $data['clients'] = $client_logos->find()->orderBy('added_on')->all(); $BT = new \app\models\BlogTags; $BT = $BT->findOne(['tag_url' => $url]); $blog = new \app\models\Blog; $query = $blog->find()->joinWith(['tagblog'])->where(['tag_id' => $BT->id]); $countQuery = clone $query; $pages = new \yii\data\Pagination(['totalCount' => $countQuery->count() ]); $pages->pageSize = 5; $data['blogs'] = $query->offset($pages->offset)->limit($pages->limit)->orderBy('added_on DESC')->all(); $data['pages'] = $pages; return $this->render('tag-index', $data); } }
$data['page_title'] = ' Mitiz Technologies Blog - Latest news and update over web, mobile & software development'; $client_logos = new \app\models\Clients; $data['clients'] = $client_logos->find()->orderBy('added_on')->all(); $BT = new \app\models\BlogTags; $BT = $BT->findOne(['tag_url' => $url]); $blog = new \app\models\Blog; $query = $blog->find()->joinWith(['tagblog'])->where(['tag_id' => $BT->id]); $countQuery = clone $query; $pages = new \yii\data\Pagination(['totalCount' => $countQuery->count() ]); $pages->pageSize = 5; $data['blogs'] = $query->offset($pages->offset)->limit($pages->limit)->orderBy('added_on DESC')->all(); $data['pages'] = $pages; return $this->render('tag-index', $data);
$args = $this->controller->bindActionParams($this, $params); Yii::trace('Running action: ' . get_class($this->controller) . '::' . $this->actionMethod . '()', __METHOD__); if (Yii::$app->requestedParams === null) { Yii::$app->requestedParams = $args; } return call_user_func_array([$this->controller, $this->actionMethod], $args); } }
} $result = null; if ($runAction && $this->beforeAction($action)) { // run the action $result = $action->runWithParams($params); $result = $this->afterAction($action, $result); // call afterAction on modules foreach ($modules as $module) { /* @var $module Module */
$parts = $this->createController($route); if (is_array($parts)) { /* @var $controller Controller */ list($controller, $actionID) = $parts; $oldController = Yii::$app->controller; Yii::$app->controller = $controller; $result = $controller->runAction($actionID, $params); Yii::$app->controller = $oldController; return $result; } else { $id = $this->getUniqueId(); throw new InvalidRouteException('Unable to resolve the request "' . ($id === '' ? $route : $id . '/' . $route) . '".');
$params = $this->catchAll; unset($params[0]); } try { Yii::trace("Route requested: '$route'", __METHOD__); $this->requestedRoute = $route; $result = $this->runAction($route, $params); if ($result instanceof Response) { return $result; } else { $response = $this->getResponse(); if ($result !== null) { $response->data = $result;
try { $this->state = self::STATE_BEFORE_REQUEST; $this->trigger(self::EVENT_BEFORE_REQUEST); $this->state = self::STATE_HANDLING_REQUEST; $response = $this->handleRequest($this->getRequest()); $this->state = self::STATE_AFTER_REQUEST; $this->trigger(self::EVENT_AFTER_REQUEST); $this->state = self::STATE_SENDING_RESPONSE; $response->send();
require(__DIR__ . '/vendor/autoload.php'); require(__DIR__ . '/vendor/yiisoft/yii2/Yii.php'); $config = require(__DIR__ . '/config/web.php'); (new yii\web\Application($config))->run();
$_GET = [ 'url' => 'website-development-solution', ]; $_SERVER = [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'www.ncsofttech.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'REDIRECT_UNIQUE_ID' => 'ZgZ7kCnL5rBflEaBzEux2wABZyM', 'REDIRECT_SCRIPT_URL' => '/blog/tag/website-development-solution', 'REDIRECT_SCRIPT_URI' => 'https://www.ncsofttech.com/blog/tag/website-development-solution', 'REDIRECT_USER_ID' => '5548881', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'www.ncsofttech.com', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3071660-1065-3', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'ZgZ7kCnL5rBflEaBzEux2wABZyM', 'SCRIPT_URL' => '/blog/tag/website-development-solution', 'SCRIPT_URI' => 'https://www.ncsofttech.com/blog/tag/website-development-solution', 'USER_ID' => '5548881', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'www.ncsofttech.com', 'HTTP2' => 'on', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '3071660-1065-3', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'www.ncsofttech.com', 'SERVER_ADDR' => '43.255.154.45', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '44.201.99.133', 'DOCUMENT_ROOT' => '/home/hgokhqhlg362/public_html', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home/hgokhqhlg362/public_html', 'SERVER_ADMIN' => 'webmaster@ncsofttech.com', 'SCRIPT_FILENAME' => '/home/hgokhqhlg362/public_html/index.php', 'REMOTE_PORT' => '48256', 'REDIRECT_URL' => '/blog/tag/website-development-solution', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/blog/tag/website-development-solution', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1711700880.3548519611358642578125, 'REQUEST_TIME' => 1711700880, ];