get

@param mixed $param
@access public
@return mixed
966372
public function get($id = null)
    {
        if (!is_null($id)) {
            if (isset($this->sections[$id])) {
                return $this->sections[$id];
            }
            return;

        }
        return $this->sections;
    }
149887
public function all($param = true){
        $this->isAr = true;
        if($this->isPretreatment){
            self::$Pre = $this->bindSql();
            if(!$param) return self::$Pre->queryString;
            return $this->dbh->pall(self::$Pre);
        }
        $bind = $this->bindSql();
        if(!$param) return $this->PrintSQL();
        $this->initialize();
        return  $bind->all();
    }
163255
public function getSessionObject( $param ) {

		$data = Yii::$app->session->get( $param );

		if( isset( $data ) ) {

			$object = unserialize( base64_decode( $data ) );

			return $object;
		}

		return null;
	}
1103446
public function get($num)
    {
        if (isset($this->cache[$num])) {
            return $this->cache[$num];
        }

        return $this->cache[$num] = $this->execute($num);
    }
342698
final protected function getValueFromConfig(string $param)
  {
    $value = null;
    $config = self::$suiteConfig;

    preg_match_all(self::$regEx['config'], $param, $args, PREG_PATTERN_ORDER);
    foreach ($args[1] as $arg) {
      if (array_key_exists($arg, $config)) {
        $value = $config[$arg];
        if (is_array($value)) {
          $config = $value;
        } else {
          break;
        }
      }
    }
    return $value;
  }
1171288
public function getParam($param)
    {
        if (isset($this->_parentConfig))
            return ($this->_parentConfig->getParam($param));
        return (isset($this->_params[$param]) ? $this->_params[$param] : null);
    }
217631
public function get($param = '')
    {

        if (empty($param)) return false;

        if (!is_array($param) || !property_exists($this->engineVarList, $param)) return false;

        return $this->engineVarList->$param;
    }
1169936
public static function getInstance(array $param = array())
    {
        if (!(self::$instance instanceof Handler)) {
            // construct the object
            self::$instance = new self();
        }

        if ($param)  {
            return self::$instance->{$param};
        }


        // return the object
        return self::$instance;
    }
1129567
public function getParam(string $param)
    {
        if (! empty($this->match['params'][$param])) {
            return $this->match['params'][$param];
        }
    }
486175
public function getPost($pParam = '')
	{
        if (empty($pParam)) {
        	return $_POST;
        } else if (isset($_POST[$pParam])) {
        	return $_POST[$pParam];
        }

        return '';
	}
546754
public static function load($param) {
        global $DB;
        if (is_object($param)) {
            $event = new calendar_event($param);
        } else {
            $event = $DB->get_record('event', array('id' => (int)$param), '*', MUST_EXIST);
            $event = new calendar_event($event);
        }
        return $event;
    }
974532
protected static function parseParameters($param)
    {
        $result = array();
        $parts = explode('=', trim($param));
        $key = array_shift($parts);
        while (!empty($parts)) {
            $value = array_shift($parts);
            while (('"' == $value{0} || "'" == $value{0}) && false == strrpos($value, $value{0}) && !empty($parts)) {
                $value .= '=' . array_shift($parts);
            }
            if (!empty($value) && !empty($parts) && $pos = strrpos($value, ' ')) {
                $result[$key] = self::__compileVar(trim(substr($value, 0, $pos), '\'"'));
                $key = substr($value, $pos + 1);
            } else {
                $result[$key] = self::__compileVar(trim($value, '\'"'));
            }
        }

        return $result;
    }
846988
public function get(AbstractModel $model, $param = null)
    {
        if ($this->contains($model)) {
            return $this->storage[md5($this->generateHash($model) . json_encode($param))]->getModel();
        }

        return null;
    }
901937
public function fromParameter($param)
    {
        $object = new \StdClass;

        if (is_string($param)) {
            
            foreach (self::$prefixMap as $prefix => $setter) {
                $regex = "/(?<=~" . $prefix . ").*/m";

                if (preg_match($regex, $param, $matches)) {
                    $end    = stripos($matches[0], '~');

                    if ($end !== false) {
                        $part = substr($matches[0], 0, $end);
                    } else {
                        $part = $matches[0];
                    }

                    $key = self::$prefixToPropertyMap[$prefix];

                    if ($prefix == self::PREFIX_ROUNDS) {
                        $part = (int) $part;
                    }

                    $object->$key = $part;

                    if (method_exists($this, $setter)) {
                        $this->$setter($part);
                    }
                }
            }
        }

        return $object;
    }
665286
public function getParam($paramName)
    {
        if (isset($this->params[$paramName]))
            return $this->params[$paramName];
        else
            return null;
    }
132169
public static function getIsSet($param)
    {
        $blnReturn = (isset($_REQUEST[$param]));

        if (!$blnReturn) {
            //*** Try PUT or DELETE.
            $strPutValue = static::getHttpBodyValue($param);

            $blnReturn = (!is_null($strPutValue));
        }

        return $blnReturn;
    }
1372174
final protected function getValueFromArray(string $param)
  {
    $value = null;

    preg_match_all(self::$regEx['array'], $param, $args);
    $array = Fixtures::get($args['var'][0]);
    if (array_key_exists($args['key'][0], $array)) {
        $value = $array[$args['key'][0]];
    }
    return $value;
  }