| Server IP : 68.178.247.200 / Your IP : 216.73.216.14 Web Server : Apache System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : x9dppmxs4rgd ( 8559391) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/x9dppmxs4rgd/www/wp-content/plugins/js_composer/include/classes/core/ |
Upload File : |
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
/**
* Class Vs_Pages_Group Show the groups of the pages likes pages with tabs.
*
* @since 4.5
*/
class Vc_Pages_Group extends Vc_Page {
protected $activePage;
protected $pages;
protected $templatePath;
/**
* @return mixed
*/
public function getActivePage() {
return $this->activePage;
}
/**
* @param Vc_Page $activePage
*
* @return $this
*/
public function setActivePage( Vc_Page $activePage ) {
$this->activePage = $activePage;
return $this;
}
/**
* @return mixed
*/
public function getPages() {
return $this->pages;
}
/**
* @param mixed $pages
*
* @return $this
*/
public function setPages( $pages ) {
$this->pages = $pages;
return $this;
}
/**
* @return mixed
*/
public function getTemplatePath() {
return $this->templatePath;
}
/**
* @param mixed $templatePath
*
* @return $this
*/
public function setTemplatePath( $templatePath ) {
$this->templatePath = $templatePath;
return $this;
}
/**
* Render html output for current page.
*/
public function render() {
vc_include_template( $this->getTemplatePath(),
array(
'pages' => $this->getPages(),
'active_page' => $this->activePage,
'page' => $this,
) );
}
}