Create the include path information

@param Infoset $info
330919
protected function includePathInfo(Infoset $info) {
		$list = $this->createList();
		$list->setTitle('Include path');
		
		$include = explode(PATH_SEPARATOR, get_include_path());
		
		foreach ($include as $path) {
			$list[] = $path;
		}
		
		$info[] = $list;
	}
707293
def absolute_info_plist_paths
      info_plist_paths.map do |path|
        absolute_project_file_path(path)
      end.select do |path|
        if path.to_s.include?('$')
          warn "Couldn't resolve all placeholders in INFOPLIST_FILE %s.", path.to_s
          false
        else
          true
        end
      end
    end
196593
function callTOC( $info )
    {
        $params = array();

        eZPDFTable::extractParameters( $info['p'], 0, $params, true );

        $sizes = isset( $params['size'] ) ? explode( ',', $params['size'] ) : '';
        $indents = isset( $params['indent'] ) ? explode( ',', $params['indent'] ) : '';
        $dots = isset( $params['dots'] ) ? $params['dots'] : '';
        $contentText = isset( $params['contentText'] ) ? $params['contentText'] : ezpI18n::tr( 'lib/ezpdf/classes', 'Contents', 'Table of contents' );

        $this->insertTOC( $sizes, $indents, $dots, $contentText );
    }
1203171
private function describe_alias(stdClass $info) {

        $filedesc = $this->expected_alias_location($info->newfile);

        if (!is_null($info->oldfile->source)) {
            $filedesc .= ' ('.$info->oldfile->source.')';
        }

        return $filedesc;
    }
908857
protected function createTitle(Infoset $info) {
		$errors = count($this->errors);
		
		if ($errors === 0) {
			$info->setTitle('No errors');
			return;
		}
		
		$info->setTitle($errors . ($errors > 1 ? ' Errors' : ' Error'));
	}
1045692
public function setIncludePath($includePath)
    {
        if (!file_exists($includePath)) {
            throw new \InvalidArgumentException(
                sprintf('Path "%s" declared as namespace\'s "%s" include path does not exist!', $includePath, $this->getNamespace())
            );
        }
        if (!is_dir($includePath)) {
            throw new \InvalidArgumentException(
                sprintf('Path "%s" declared as namespace\'s "%s" include path is not a directory!', $includePath, $this->getNamespace())
            );
        }
        $this->_includePath = realpath($includePath);
        return $this;
    }
1190417
public void setIncludePath(Path src) {
        if (includePath == null) {
            includePath = src;
        } else {
            includePath.append(src);
        }
    }
1049115
public function find(array $info)
    {
        $paths  = array();

        //Get the package
        $package = $info['package'];

        //Get the domain
        $domain = $info['domain'];

        /*
         * Theme path
         */
        if(!empty($this->_override_paths))
        {
            //Remove the 'view' element from the path.
            $path = $info['path'];
            if(isset($path[0]) && $path[0] == 'view') {
                array_shift($path);
            }

            //Find the template file
            if(!empty($info['type'])) {
                $filepath = 'com_'.$package.'/'.implode('/', $path).'/'.$info['file'].'.'.$info['format'].'.'.$info['type'];
            } else {
                $filepath = 'com_'.$package.'/'.implode('/', $path).'/'.$info['file'].'.'.$info['format'].'.*';
            }

            foreach ($this->_override_paths as $override_path) {
                $paths[] = $override_path.'/'.$filepath;
            }
        }

        /*
         * Component path
         */

        //Check if we are trying to find a template inside an application component
        if($path = $this->getObject('object.bootstrapper')->getApplicationPath($domain)) {
            $basepath = $path.'/com_'.strtolower($package);
        } else {
            $basepath = $this->getObject('object.bootstrapper')->getComponentPath($package);
        }

        //If no type exists create a glob pattern
        if(!empty($info['type'])) {
            $filepath = implode('/', $info['path']).'/tmpl/'.$info['file'].'.'.$info['format'].'.'.$info['type'];
        } else {
            $filepath = implode('/', $info['path']).'/tmpl/'.$info['file'].'.'.$info['format'].'.*';
        }

        $paths[] = $basepath.'/view*/'.$filepath;

        foreach($paths as $path)
        {
            $results = glob($path);

            //Find the file in the directory
            if ($results)
            {
                foreach($results as $file)
                {
                    if($result = $this->realPath($file)) {
                        return $result;
                    }
                }
            }

        }

        return false;
    }
64879
public function find(array $info)
    {
        $locator = $this->getObject('manager')->getClassLoader()->getLocator('module');

        //Get the package
        $package = $info['package'];

        /*
         * Theme path
         */
        if(!empty($this->_override_paths))
        {
            //Remove the 'view' element from the path.
            $path = $info['path'];
            if(isset($path[0]) && $path[0] == 'view') {
                array_shift($path);
            }

            $path = count($path) ? implode('/', $path).'/' : '';

            foreach ($this->_override_paths as $override_path) {
                //If no type exists create a glob pattern
                if(!empty($info['type'])) {
                    $paths[] = $override_path.'/mod_'.$package.'/'.$path.$info['file'].'.'.$info['format'].'.'.$info['type'];
                } else {
                    $paths[] = $override_path.'/mod_'.$package.'/'.$path.$info['file'].'.'.$info['format'].'.*';
                }
            }
        }

        //Switch basepath
        if(!$locator->getNamespace(ucfirst($package))) {
            $basepath = $locator->getNamespace('\\');
        } else {
            $basepath = $locator->getNamespace(ucfirst($package));
        }

        $basepath .= '/mod_'.strtolower($package);

        $filepath   = (count($info['path']) ? implode('/', $info['path']).'/' : '').'tmpl/';

        //If no type exists create a glob pattern
        if(!empty($info['type'])) {
            $filepath  .= $info['file'].'.'.$info['format'].'.'.$info['type'];
        } else {
            $filepath  .= $info['file'].'.'.$info['format'].'.*';
        }

        $paths[] = $basepath.'/'.$filepath;

        foreach($paths as $path)
        {
            $results = glob($path);

            //Find the file in the directory
            if ($results)
            {
                foreach($results as $file)
                {
                    if($result = $this->realPath($file)) {
                        return $result;
                    }
                }
            }
        }

        return false;
    }
673543
protected function extensionsInfo(Infoset $info) {
		$extensions = $this->createTable()
			->setHeadContent(['Name', 'Version'])
			->setColsWidths([1, 99])
			->enableBbCodes()
			->setTitle('Extensions');
		
		$info[] = $extensions;
		
		foreach (get_loaded_extensions() as $extension) {
			$version   = phpversion($extension);
			$extension = ucfirst($extension);
			
			if (empty($version)) {
				$extensions[] = [$extension, ''];
				continue;
			}
			
			$extensions[] = [$extension, '[success]' . $version . '[/success]'];
		}
		
		if (extension_loaded('Zend OPcache')) {
			$this->opcacheInfo($info);
		}
	}
1200980
public function options($path, $handler, $info = null)
    {
        $this->addRoute(["OPTIONS"], null, $path, $handler, $info);
    }
438527
static function set_info($info)
    {
        if (!isset($info['proto']) && $info['uri'] !='/vendor/boolive/basic/object'){
            $info['proto'] = '/vendor/boolive/basic/object';
        }
        if (isset($info['properties'])){
            foreach ($info['properties'] as $name => $child){
                if (is_scalar($child) || is_null($child)){
                    $child = ['value' => $child];
                    if (isset($info['proto'])) $child['proto'] = $info['proto'].'/'.$name;
                }
                $child['name'] = $name;
                $child['is_property'] = true;
                if (!empty($child['value'])) $child['is_default_value'] = false;
                if (!empty($child['file'])) $child['is_default_file'] = false;
                if (!isset($child['is_default_logic'])) $child['is_default_logic'] = true;
                if (!isset($child['created']) && isset($info['created'])) $child['created'] = $info['created'];
                if (!isset($child['updated']) && isset($info['updated'])) $child['updated'] = $info['updated'];
                $child['is_exists'] = $info['is_exists'];
                $child['uri'] = $info['uri'].'/'.$name;
                self::$list_props[$info['uri']][$name] = $child['uri'];
                self::set_info($child);
            }
            unset($info['properties']);
        }
        self::$list_info[$info['uri']] = $info;
        return $info;
    }
831064
protected function engineInfo(Infoset $info) {
		$engine = $this->createTable()
			->setColsWidths([1, 99])
			->enableBbCodes()
			->setTitle('Engine');
		
		$engine[] = ['PHP:', '[success]' . phpversion() . '[/success]'];
		$engine[] = ['Zend:', '[success]' . zend_version() . '[/success]'];
		$engine[] = ['OS:', php_uname()];
		$engine[] = ['User:', get_current_user()];
		
		$info[] = $engine;
	}
1255296
protected function createDump(Infoset $info) {
		$content = '';
		
		foreach ($info as $part) {
			$content .= Dump::getDump($part);
		}
		
		return $content;
	}
972781
private function createResources(array $info, $data, array $identity)
    {
        $data = isset($info['path'])
            ? jp\search($info['path'], $data)
            : null;

        if (isset($identity[0])) {
            $resources = [];
            foreach ($identity as $index => $id) {
                $datum = isset($data[$index]) ? $data[$index] : $data;
                $resources[] = new Resource($this, $info['type'], $id, $datum);
            }
            return new Batch($this, $info['type'], $resources);
        } else {
            return new Resource($this, $info['type'], $identity, $data);
        }
    }
1201395
protected function createTitle(Infoset $info) {
		$profiler = $this->getProfiler();
		$events   = $profiler->getTotalEvents();
		
		if ($events === 0) {
			$info->setTitle('No events');
			return;
		}
		
		$time = $profiler->getTotalElapsedTime();
		
		$info->setTitle($events . ' in ' . $this->formatTime($time));
	}
66807
public function put($path, $handler, $info = null)
    {
        $this->addRoute(["PUT"], null, $path, $handler, $info);
    }