Find textarea element.

@param string $id        element identifier
@param array  $relations tag relations (near, in, under)

@return Accessor\Form\TextareaAccessor
971335
public function findTextarea($id = null, array $relations = array())
    {
        return new Accessor\Form\TextareaAccessor($id, $relations, $this->con);
    }
896236
public function include($relations):SuccessResponseBuilder
    {
        if (is_string($relations)) {
            $relations = explode(',', $relations);
        }

        $this->relations = array_merge($this->relations, (array) $relations);

        return $this;
    }
426494
public static function find($id)
    {
        self::init();
        $query = 'SELECT * FROM ' . self::$modelTable . ' WHERE id = '.$id;
        $qb = new QueryBuilder(self::$connect, $query);
        $rows = $qb->get();
        $collection = self::makeCollection($rows);
        return !empty($collection) ? array_shift($collection) : null;
    }
1333295
public function findOrNew($id, $columns = ['*'])
	{
		if (is_null($instance = $this->find($id, $columns))) {
			$instance = $this->getRelated()->newInstance();
		}

		return $instance;
	}
766963
public function findSelect($id = null, array $relations = array())
    {
        return new Accessor\Form\SelectAccessor($id, $relations, $this->con);
    }
922632
public static function textarea($name,
                             $class = NULL,
                             $id = NULL,
                             $value = NULL,
                             $label = NULL,
                             $attrs = array())
    {
        $ret = NULL;
        if($label)
            $ret .= PHP_EOL . self::formatLabel($label, $id);
        if(!$value)
            $value = '';
        $attrs['name'] = $name;
        $ret .= self::tag('textarea',$value, $class, $id, $attrs);
        
        return $ret;
        
    }
447314
public function findId($id, $data = [])
    {
        if ($id) {
            $this->findOneById($id);
        } else {
            // Reset status when record not found
            $this->isNew = true;
        }

        return $this->fromArray($data);
    }
629968
protected function findOrMakeTag(Relation $relation, $title)
    {
        // Obtain Data List:
        
        $list = $this->getList();
        
        // Obtain Field Name:
        
        $field = $this->getIDField();
        
        // Obtain Existing Tag:
        
        if ($tag = $list->find($field, $title)) {
            return $tag;
        }
        
        // Create New Tag (if enabled):
        
        if ($this->getCanCreate()) {
            $tag = Injector::inst()->create($this->getTagClass($relation));
            $tag->setField($field, $title)->write();
            return $tag;
        }
    }
837075
public function getById(string $id, array $params = [])
    {
        return $this->executeRequest(
            RequestMethodEnum::GET,
            ResourceMethodEnum::GET_BY_ID,
            $params,
            $id
        );
    }
620897
public function getParents ($relationIdentifier, $id, $inputQuery = null)
		{
			return $this->getChildren($relationIdentifier, $id, $inputQuery);
		}
633784
public static function find($id, $columns = array('*')) {
        $debug = debug_backtrace(false);

        if (static::$throwOnFind && $debug[1]['function'] != 'findOrFail') {
            return self::findOrFail($id, $columns);
        } else {
            return parent::find($id, $columns);
        }
    }
160978
public function relations(array $relations)
    {
        foreach ($relations as $column1 => $column2) {
            $this->relation($column1, $column2);
        }

        return $this;
    }
87943
public function find($id, $columns = ['*'])
    {
        if (Uuid::validate($id)) {
            return $this->findByUuid($id, $columns);
        } else {
            return parent::find($id, $columns);
        }
    }
856879
public function find($id, $columns = ['*'])
    {
        $this->applyCriteria();
        $this->applyScope();
        $model = $this->model->findOrFail($id, $columns);
        $this->resetModel();

        return $this->parserResult($model);
    }
683554
function with(array $relations, array $where = null, $order = null, $limit = 0, $offset = 0) {
		$qthis = $this->conn->quoteName($this->getName());
		$query = $this->getQueryWriter()->reset();
		$query->write("SELECT", "$qthis.*", "FROM", $qthis);
		foreach ($relations as $relation) {
			if (!($relation instanceof Table\Reference)) {
				$relation = static::resolve($relation)->getRelation($this->getName());
			}
			if ($this->getName() === $relation->foreignTable) {
				$query->write("JOIN", $relation->referencedTable)->write("ON");
				foreach ($relation as $key => $ref) {
					$query->criteria(
						array(
							"{$relation->referencedTable}.{$ref}=" => 
								new QueryExpr("{$relation->foreignTable}.{$key}")
						)
					);
				}
			} else {
				$query->write("JOIN", $relation->foreignTable)->write("ON");
				foreach ($relation as $key => $ref) {
					$query->criteria(
						array(
							"{$relation->referencedTable}.{$ref}=" => 
								new QueryExpr("{$relation->foreignTable}.{$key}")
						)
					);
				}
			}
		}
		if ($where) {
			$query->write("WHERE")->criteria($where);
		}
		if ($order) {
			$query->write("ORDER BY", $order);
		}
		if ($limit) {
			$query->write("LIMIT", $limit);
		}
		if ($offset) {
			$query->write("OFFSET", $offset);
		}
		return $this->execute($query);
	}
781074
public function find($id)
    {
        // Retrieve identifier & id
        if (is_array($id)) {
            $keys       = array_keys($id);
            $identifier = $keys[0];
            $id         = $id[$identifier];
        } else {
            $identifier = $this->_em->getMetadataFactory()->getMetadataFor(ltrim($this->_entityName, '\\'))->identifier[0];
        }

        return $this->createQueryBuilder('a')
                    ->leftJoin('a.metas', 'm')->addSelect('m')
                    ->leftJoin('m.meta', 'meta')->addSelect('meta')
                    ->leftJoin('a.menus', 'me')->addSelect('me')
                    ->leftJoin('a.contents', 'co')->addSelect('co')
                    ->leftJoin('co.area', 'ar')->addSelect('ar')
                    ->leftJoin('a.template', 't')->addSelect('t')
                    ->where(sprintf('a.%s = :id', $identifier))->setParameter('id', $id)
                    ->getQuery()->getOneOrNullResult();
    }
1292318
public static function find($id, array $params = [])
    {
        $instance = new static([], static::getParentID());

        return $instance->request($instance->getEndpoint(), 'find', [$id, $params]);
    }