public static function ListEducationAsKey($ideducation = null){ $query = self::find()->select('name')->indexBy('id'); if($ideducation != null) $query->Where(['id'=>$ideducation]); return $query->column(); } public static function educationName($ideducation){ $query = self::find()->select(['id', 'name'])->where(['id'=>$ideducation])->one(); return $query->name; } public static function EducationId($name){ $query = self::find()->select(['id'])->where(['name'=>$name])->one(); if(!empty($query)){ return $query->id; }else{ return false; }
$query->Where(['id'=>$ideducation]); return $query->column(); } public static function educationName($ideducation){ $query = self::find()->select(['id', 'name'])->where(['id'=>$ideducation])->one(); return $query->name; } public static function EducationId($name){ $query = self::find()->select(['id'])->where(['name'=>$name])->one(); if(!empty($query)){ return $query->id;
<!-- 11. Education + City URLs --> <?php if($model->ideducation != NULL AND $model->idcity != NULL){?> <?php $i++; ?> <?php $educationName = Education::educationName($model->ideducation);?> <?php $cityName = City::CityName($model->idcity);?> <p> Find the latest <b><?php echo $educationName; ?></b> jobs today in <b><?php echo $cityName; ?></b> where freshers or experienced with <?php echo $educationName; ?> qualification can find suitable jobs. If you are jobless and try to find highly paid job, you are at right place to find <?php echo $educationName; ?> jobs <?php echo date('Y'); ?> in <?php echo $cityName; ?>. You will find Government and Multinational Departments jobs for <?php echo $educationName; ?> qualification. </p> <p> In this article, we will explore the various <?php echo $educationName; ?> jobs available in <?php echo $cityName; ?> and provide information about post names, helpful tips on how to apply for these jobs and what is the last date. Whether you're fresh or have some work experience, we will guide you through the process of finding the perfect <b><?php echo $educationName; ?> job in <?php echo $cityName; ?></b> that aligns with your qualifications.
{ $_obInitialLevel_ = ob_get_level(); ob_start(); ob_implicit_flush(false); extract($_params_, EXTR_OVERWRITE); try { require $_file_; return ob_get_clean(); } catch (\Exception $e) { while (ob_get_level() > $_obInitialLevel_) { if (!@ob_end_clean()) { ob_clean(); }
$this->renderers[$ext] = Yii::createObject($this->renderers[$ext]); } /* @var $renderer ViewRenderer */ $renderer = $this->renderers[$ext]; $output = $renderer->render($this, $viewFile, $params); } else { $output = $this->renderPhpFile($viewFile, $params); } $this->afterRender($viewFile, $params, $output); } array_pop($this->_viewFiles); $this->context = $oldContext;
* @throws InvalidCallException if the view cannot be resolved. * @see renderFile() */ public function render($view, $params = [], $context = null) { $viewFile = $this->findViewFile($view, $context); return $this->renderFile($viewFile, $params, $context); } /** * Finds the view file based on the given view name. * @param string $view the view name or the [path alias](guide:concept-aliases) of the view file. Please refer to [[render()]] * on how to specify this parameter.
* @param array $params the parameters (name-value pairs) that should be made available in the view. * @return string the rendering result. * @throws InvalidArgumentException if the view file does not exist. */ public function renderPartial($view, $params = []) { return $this->getView()->render($view, $params, $this); } /** * Renders a view file. * @param string $file the view file to be rendered. This can be either a file path or a [path alias](guide:concept-aliases). * @param array $params the parameters (name-value pairs) that should be made available in the view.
echo $this->render('../site/pagenotfound'); exit; } // echo "<pre>"; print_r($SearchJobs); exit; $breadcrumbs = Jobs::makeBreadcrumbs($SearchJobs, $search); $paragraph = $this->renderPartial('_dynamicContent',['model' => $SearchJobs]); return $this->render('listing',[ 'models' => $models, 'search' => $SearchJobs, 'form_search' => $search, 'pagination' => $pagination,
$args = $this->controller->bindActionParams($this, $params); Yii::debug('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); if ($oldController !== null) { Yii::$app->controller = $oldController; } return $result; }
$params = $this->catchAll; unset($params[0]); } try { Yii::debug("Route requested: '$route'", __METHOD__); $this->requestedRoute = $route; $result = $this->runAction($route, $params); if ($result instanceof Response) { return $result; } $response = $this->getResponse(); if ($result !== null) {
{ 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__ . '/../../common/config/main.php', require __DIR__ . '/../../common/config/main-local.php', require __DIR__ . '/../config/main.php', require __DIR__ . '/../config/main-local.php' ); (new yii\web\Application($config))->run();
$_GET = [ 'SearchJobs' => unserialize('O:21:"common\\models\\JobsUrl":21:{s:27:"' . "\0" . 'yii\\base\\Component' . "\0" . '_events";a:0:{}s:35:"' . "\0" . 'yii\\base\\Component' . "\0" . '_eventWildcards";a:0:{}s:30:"' . "\0" . 'yii\\base\\Component' . "\0" . '_behaviors";a:0:{}s:23:"' . "\0" . 'yii\\base\\Model' . "\0" . '_errors";N;s:27:"' . "\0" . 'yii\\base\\Model' . "\0" . '_validators";N;s:25:"' . "\0" . 'yii\\base\\Model' . "\0" . '_scenario";s:7:"default";s:36:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_attributes";a:21:{s:2:"id";i:116866;s:9:"idcompany";N;s:8:"idagency";N;s:10:"idprovince";N;s:6:"idcity";i:76;s:10:"idcategory";N;s:11:"idnewspaper";N;s:6:"idjobs";N;s:6:"idpost";N;s:11:"ideducation";i:89;s:6:"idtype";N;s:8:"idsector";N;s:3:"url";s:45:"jobs/hyderabad,-sindh,-pakistan/in-hyderabad/";s:5:"title";s:64:"Hyderabad, Sindh, Pakistan Jobs in Hyderabad year | Pakkijobs.pk";s:11:"description";s:223:"Browse the best Hyderabad, Sindh, Pakistan jobs in Hyderabad year viewed online. Find the best daily Hyderabad, Sindh, Pakistan vacancies in Hyderabad announced in newspapers for Hyderabad, Sindh, Pakistan jobs in Pakistan.";s:2:"h1";s:44:"Hyderabad, Sindh, Pakistan Jobs in Hyderabad";s:9:"paragraph";N;s:8:"og_image";N;s:4:"page";N;s:7:"created";s:19:"2022-11-19 01:30:37";s:7:"updated";N;}s:39:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_oldAttributes";a:21:{s:2:"id";i:116866;s:9:"idcompany";N;s:8:"idagency";N;s:10:"idprovince";N;s:6:"idcity";i:76;s:10:"idcategory";N;s:11:"idnewspaper";N;s:6:"idjobs";N;s:6:"idpost";N;s:11:"ideducation";i:89;s:6:"idtype";N;s:8:"idsector";N;s:3:"url";s:45:"jobs/hyderabad,-sindh,-pakistan/in-hyderabad/";s:5:"title";s:64:"Hyderabad, Sindh, Pakistan Jobs in Hyderabad year | Pakkijobs.pk";s:11:"description";s:223:"Browse the best Hyderabad, Sindh, Pakistan jobs in Hyderabad year viewed online. Find the best daily Hyderabad, Sindh, Pakistan vacancies in Hyderabad announced in newspapers for Hyderabad, Sindh, Pakistan jobs in Pakistan.";s:2:"h1";s:44:"Hyderabad, Sindh, Pakistan Jobs in Hyderabad";s:9:"paragraph";N;s:8:"og_image";N;s:4:"page";N;s:7:"created";s:19:"2022-11-19 01:30:37";s:7:"updated";N;}s:33:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_related";a:0:{}s:47:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_relationsDependencies";a:0:{}s:5:"idjob";N;s:11:"companyName";N;s:10:"agencyName";N;s:12:"provinceName";N;s:8:"cityName";N;s:12:"categoryName";N;s:13:"newspaperName";N;s:8:"typeName";N;s:13:"educationName";N;s:10:"sectorName";N;s:8:"postName";N;}'), 'Search' => [ 'idcompany' => null, 'idagency' => null, 'idprovince' => null, 'idcity' => 76, 'idcategory' => null, 'idjobs' => null, 'idtype' => null, 'idnewspaper' => null, 'idpost' => null, 'ideducation' => 89, ], 'page' => 1, ];